SubscriptionMessageHandler getMessageHandler ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getMessageHandler" ) ; SubscriptionMessageHandler messageHandler = ( SubscriptionMessageHandler ) _subscriptionMessagePool . remove ( ) ; if ( messageHandler == null ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "doProxySubscribeOp" , "Creating a new Message Handler as none available" ) ; messageHandler = new SubscriptionMessageHandler ( this ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getMessageHandler" , messageHandler ) ; return messageHandler ; }
Returns the Message Handler to be used for this operation