cgl.narada.jms
Class JmsEvent
java.lang.Object
cgl.narada.jms.JmsEvent
- All Implemented Interfaces:
- JmsDebugFlags
public class JmsEvent
- extends Object
- implements JmsDebugFlags
This is the class which ties up the topic, Message, deliveryMode, priority
and timeToLive as a single entity
| 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 |
|
Constructor Summary |
JmsEvent(byte[] jmsEventBytes)
|
JmsEvent(byte[] jmsEventBytes,
boolean noPayloadReconstruct)
|
JmsEvent(String topic,
Message message,
int deliveryMode,
int priority,
long timeToLive)
|
JmsEvent
public JmsEvent(String topic,
Message message,
int deliveryMode,
int priority,
long timeToLive)
throws JMSException
- Throws:
JMSException
JmsEvent
public JmsEvent(byte[] jmsEventBytes)
JmsEvent
public JmsEvent(byte[] jmsEventBytes,
boolean noPayloadReconstruct)
getBytesWithoutPayloadReconstruct
public byte[] getBytesWithoutPayloadReconstruct()
throws JMSException
- Throws:
JMSException
getBytes
public byte[] getBytes()
throws JMSException
- Throws:
JMSException
getTopic
public String getTopic()
getMessage
public Message getMessage()
getDeliveryMode
public int getDeliveryMode()
getPriority
public int getPriority()
getTimeToLive
public long getTimeToLive()
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