cgl.narada.jms
Class JmsHeader
java.lang.Object
cgl.narada.jms.JmsHeader
- All Implemented Interfaces:
- JmsDebugFlags
public class JmsHeader
- extends Object
- implements JmsDebugFlags
This class snapshots the headers that are contained in a JMS message.
Fields inherited from interface cgl.narada.jms.JmsDebugFlags |
JmsConnection_Debug, JmsDestination_Debug, JmsHeader_Debug, JmsLogger_Debug, JmsMessage_Debug, JmsObjectMessage_Debug, JmsProperties_Debug, JmsTextMessage_Debug, JmsTopic_Debug, JmsTopicAndSelectorVerifier_Debug, JmsTopicConnection_Debug, JmsTopicConnectionFactory_Debug, JmsTopicPublisher_Debug, JmsTopicSession_Debug, JmsTopicSubscriber_Debug |
JmsHeader
public JmsHeader()
JmsHeader
public JmsHeader(byte[] headerBytes)
getJMSMessageID
public String getJMSMessageID()
throws JMSException
- Throws:
JMSException
setJMSMessageID
public void setJMSMessageID(String id)
throws JMSException
- Throws:
JMSException
getJMSTimestamp
public long getJMSTimestamp()
throws JMSException
- Throws:
JMSException
setJMSTimestamp
public void setJMSTimestamp(long timestamp)
throws JMSException
- Throws:
JMSException
getJMSCorrelationIDAsBytes
public byte[] getJMSCorrelationIDAsBytes()
throws JMSException
- Throws:
JMSException
setJMSCorrelationIDAsBytes
public void setJMSCorrelationIDAsBytes(byte[] correlationID)
throws JMSException
- Throws:
JMSException
getJMSCorrelationID
public String getJMSCorrelationID()
throws JMSException
- Throws:
JMSException
setJMSCorrelationID
public void setJMSCorrelationID(String correlationID)
throws JMSException
- Throws:
JMSException
getJMSReplyTo
public Destination getJMSReplyTo()
throws JMSException
- Throws:
JMSException
setJMSReplyTo
public void setJMSReplyTo(Destination replyTo)
throws JMSException
- Throws:
JMSException
getJMSDestination
public Destination getJMSDestination()
throws JMSException
- Throws:
JMSException
setJMSDestination
public void setJMSDestination(Destination destination)
throws JMSException
- Throws:
JMSException
getJMSDeliveryMode
public int getJMSDeliveryMode()
throws JMSException
- Throws:
JMSException
setJMSDeliveryMode
public void setJMSDeliveryMode(int deliveryMode)
throws JMSException
- Throws:
JMSException
getJMSRedelivered
public boolean getJMSRedelivered()
throws JMSException
- Throws:
JMSException
setJMSRedelivered
public void setJMSRedelivered(boolean redelivered)
throws JMSException
- Throws:
JMSException
getJMSType
public String getJMSType()
throws JMSException
- Throws:
JMSException
setJMSType
public void setJMSType(String type)
throws JMSException
- Throws:
JMSException
getJMSExpiration
public long getJMSExpiration()
throws JMSException
- Throws:
JMSException
setJMSExpiration
public void setJMSExpiration(long expiration)
throws JMSException
- Throws:
JMSException
getJMSPriority
public int getJMSPriority()
throws JMSException
- Throws:
JMSException
setJMSPriority
public void setJMSPriority(int priority)
throws JMSException
- Throws:
JMSException
getBytes
public byte[] getBytes()
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project