private void searchMatchSpace ( SIMPMessage msg , MessageProcessorSearchResults searchResults ) throws SIDiscriminatorSyntaxException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "searchMatchSpace" , new Object [ ] { msg , searchResults } ) ; // Defect 382250, set the unlockCount from MsgStore into the message // in the case where the message is being redelivered. JsMessage searchMsg = msg . getMessage ( ) ; int redelCount = msg . guessRedeliveredCount ( ) ; if ( redelCount > 0 ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Set deliverycount into message: " + redelCount ) ; searchMsg . setDeliveryCount ( redelCount ) ; } // Search the match space. _messageProcessor . getMessageProcessorMatching ( ) . retrieveMatchingConsumerPoints ( _baseDestHandler . getUuid ( ) , // the uuid of the destination getUuid ( ) , // the uuid of the ConsumerDispatcher searchMsg , searchResults ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "searchMatchSpace" , searchResults ) ; }
Search the MatchSpace for a specific consumer