Class MessageHelper
- java.lang.Object
-
- org.objectweb.joram.shared.messages.MessageHelper
-
public class MessageHelper extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMessageHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessagecreateMessage(String msgId, String correlationId, String destId, byte destType)Creates a well formedMessage.
-
-
-
Method Detail
-
createMessage
public static Message createMessage(String msgId, String correlationId, String destId, byte destType)
Creates a well formedMessage.- Parameters:
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_TYPEorDestinationConstants.TOPIC_TYPE- Returns:
- the new message.
-
-