com.caucho.jms.cluster
Class SendMessage

java.lang.Object
  extended by com.caucho.jms.cluster.SendMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TopicMessage, TriadSendMessage

public class SendMessage
extends java.lang.Object
implements java.io.Serializable

Implements a cluster receive queue.

See Also:
Serialized Form

Constructor Summary
protected SendMessage()
           
  SendMessage(java.lang.String messageId, byte[] queue, java.io.Serializable payload)
           
  SendMessage(java.lang.String messageId, byte[] queue, java.io.Serializable payload, int priority, long timeout)
           
 
Method Summary
 java.lang.String getMessageId()
           
 java.io.Serializable getPayload()
           
 int getPriority()
           
 byte[] getQueue()
           
 long getTimeout()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessage

protected SendMessage()

SendMessage

public SendMessage(java.lang.String messageId,
                   byte[] queue,
                   java.io.Serializable payload)

SendMessage

public SendMessage(java.lang.String messageId,
                   byte[] queue,
                   java.io.Serializable payload,
                   int priority,
                   long timeout)
Method Detail

getMessageId

public java.lang.String getMessageId()

getQueue

public byte[] getQueue()

getPriority

public int getPriority()

getTimeout

public long getTimeout()

getPayload

public java.io.Serializable getPayload()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object