private void addBestEffortMessage ( SIMPMessage msgItem ) throws SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "addBestEffortMessage" , new Object [ ] { msgItem } ) ; // Get the JsMessage as we need to update the Guaranteed fields JsMessage jsMsg = msgItem . getMessage ( ) ; long tick = this . messageProcessor . nextTick ( ) ; //Set a unique id in the message if explicitly told to or //if one has not already been set if ( msgItem . getRequiresNewId ( ) || jsMsg . getSystemMessageId ( ) == null ) { jsMsg . setSystemMessageSourceUuid ( this . messageProcessor . getMessagingEngineUuid ( ) ) ; jsMsg . setSystemMessageValue ( tick ) ; msgItem . setRequiresNewId ( false ) ; } jsMsg . setGuaranteedValueEndTick ( tick ) ; jsMsg . setGuaranteedValueValueTick ( tick ) ; jsMsg . setGuaranteedValueRequestedOnly ( false ) ; // Keep MFP happy jsMsg . setGuaranteedValueStartTick ( - 1 ) ; jsMsg . setGuaranteedValueCompletedPrefix ( - 1 ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "addBestEffortMessage" ) ; }
Set any appropriate fields in the best effort message . The message does not actually get added to any streams .