public void sendToMe ( SIBUuid8 targetME , int priority , AbstractMessage aMessage ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "sendToMe" , new Object [ ] { aMessage , Integer . valueOf ( priority ) , targetME } ) ; // find an appropriate MPConnection MPConnection firstChoice = findMPConnection ( targetME ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "sendToMe" , firstChoice ) ; // Minimal comms trace of the message we're trying to send if ( TraceComponent . isAnyTracingEnabled ( ) ) { MECommsTrc . traceMessage ( tc , _messageProcessor , aMessage . getGuaranteedTargetMessagingEngineUUID ( ) , MECommsTrc . OP_SEND , firstChoice , aMessage ) ; } if ( firstChoice != null ) { //send the message firstChoice . send ( aMessage , priority ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "sendToMe" ) ; }
Send a ControlMessage to one specific ME