public static void setGuaranteedDeliveryProperties ( ControlMessage msg , SIBUuid8 sourceMEUuid , SIBUuid8 targetMEUuid , SIBUuid12 streamId , SIBUuid12 gatheringTargetDestUuid , SIBUuid12 targetDestUuid , ProtocolType protocolType , byte protocolVersion ) { // Remote to local message properties msg . setGuaranteedSourceMessagingEngineUUID ( sourceMEUuid ) ; msg . setGuaranteedTargetMessagingEngineUUID ( targetMEUuid ) ; msg . setGuaranteedStreamUUID ( streamId ) ; msg . setGuaranteedGatheringTargetUUID ( gatheringTargetDestUuid ) ; msg . setGuaranteedTargetDestinationDefinitionUUID ( targetDestUuid ) ; if ( protocolType != null ) msg . setGuaranteedProtocolType ( protocolType ) ; msg . setGuaranteedProtocolVersion ( protocolVersion ) ; }
Set up guaranteed delivery message properties . These are compulsory properties on a control message and are therefore set throughout the code . The method makes it easier to cope with new properties in the message .