org.objectweb.joram.shared.messages
Class MessageHelper

java.lang.Object
  extended by org.objectweb.joram.shared.messages.MessageHelper

public class MessageHelper
extends java.lang.Object


Method Summary
static Message createMessage(java.lang.String msgId, java.lang.String correlationId, java.lang.String destId, byte destType)
          Creates a well formed Message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createMessage

public static Message createMessage(java.lang.String msgId,
                                    java.lang.String correlationId,
                                    java.lang.String destId,
                                    byte destType)
Creates a well formed Message.

Parameters:
msgId - ID of the new message
correlationId - correlation ID of the new message
destId - ID of the destination creating the message
destType - type of the destination creating the message: DestinationConstants.QUEUE_TYPE or DestinationConstants.TOPIC_TYPE
Returns:
the new message.


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.