com.shephertz.app42.paas.sdk.jme.message
Class Queue.Message

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.message.Queue.Message
Enclosing class:
Queue

public class Queue.Message
extends java.lang.Object

An inner class that contains the remaining properties of the Queue.


Field Summary
 java.lang.String correlationId
           
 java.lang.String messageId
           
 java.lang.String payLoad
           
 
Constructor Summary
Queue.Message()
          This is a constructor that takes no parameter
 
Method Summary
 java.lang.String getCorrelationId()
          Returns the correlationId of the messages in queue.
 java.lang.String getMessageId()
          Returns the messageId of the messages in queue.
 java.lang.String getPayLoad()
          Returns the payLoad of the messages in queue.
 void setCorrelationId(java.lang.String correlationId)
          Sets the correlationId of the messages in queue.
 void setMessageId(java.lang.String messageId)
          Sets the messageId of the messages in queue.
 void setPayLoad(java.lang.String payLoad)
          Sets the payLoad of the messages in queue.
 java.lang.String toString()
          Returns the Queue Response in JSON format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

correlationId

public java.lang.String correlationId

messageId

public java.lang.String messageId

payLoad

public java.lang.String payLoad
Constructor Detail

Queue.Message

public Queue.Message()
This is a constructor that takes no parameter

Method Detail

getCorrelationId

public java.lang.String getCorrelationId()
Returns the correlationId of the messages in queue.

Returns:
the correlationId of the messages in queue.

getMessageId

public java.lang.String getMessageId()
Returns the messageId of the messages in queue.

Returns:
the messageId of the messages in queue.

getPayLoad

public java.lang.String getPayLoad()
Returns the payLoad of the messages in queue.

Returns:
the payLoad of the messages in queue.

setCorrelationId

public void setCorrelationId(java.lang.String correlationId)
Sets the correlationId of the messages in queue.

Parameters:
correlationId - - correlationId of the messages in queue.

setMessageId

public void setMessageId(java.lang.String messageId)
Sets the messageId of the messages in queue.

Parameters:
messageId - - messageId of the messages in queue.

setPayLoad

public void setPayLoad(java.lang.String payLoad)
Sets the payLoad of the messages in queue.

Parameters:
payLoad - - payLoad of the messages in queue.

toString

public java.lang.String toString()
Returns the Queue Response in JSON format.

Overrides:
toString in class java.lang.Object
Returns:
the response in JSON format.