public class MessageHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
MessageHelper() |
public static Message createMessage(String msgId, String correlationId, String destId, byte destType)
Message
.msgId
- ID of the new messagecorrelationId
- correlation ID of the new messagedestId
- ID of the destination creating the messagedestType
- type of the destination creating the message:
DestinationConstants.QUEUE_TYPE
or
DestinationConstants.TOPIC_TYPE
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.