cgl.narada.jms
Class JmsProperties
java.lang.Object
cgl.narada.jms.JmsProperties
- All Implemented Interfaces:
- JmsDebugFlags
public class JmsProperties
- extends Object
- implements JmsDebugFlags
This class snapshots the properties that are contained within 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 |
JmsProperties
public JmsProperties()
JmsProperties
public JmsProperties(byte[] propertiesBytes)
clearProperties
public void clearProperties()
throws JMSException
- Throws:
JMSException
propertyExists
public boolean propertyExists(String name)
throws JMSException
- Throws:
JMSException
getBooleanProperty
public boolean getBooleanProperty(String name)
throws JMSException
- Throws:
JMSException
setBooleanProperty
public void setBooleanProperty(String name,
boolean value)
throws JMSException
- Throws:
JMSException
getByteProperty
public byte getByteProperty(String name)
throws JMSException
- Throws:
JMSException
setByteProperty
public void setByteProperty(String name,
byte value)
throws JMSException
- Throws:
JMSException
getShortProperty
public short getShortProperty(String name)
throws JMSException
- Throws:
JMSException
setShortProperty
public void setShortProperty(String name,
short value)
throws JMSException
- Throws:
JMSException
getIntProperty
public int getIntProperty(String name)
throws JMSException
- Throws:
JMSException
setIntProperty
public void setIntProperty(String name,
int value)
throws JMSException
- Throws:
JMSException
getLongProperty
public long getLongProperty(String name)
throws JMSException
- Throws:
JMSException
setLongProperty
public void setLongProperty(String name,
long value)
throws JMSException
- Throws:
JMSException
getFloatProperty
public float getFloatProperty(String name)
throws JMSException
- Throws:
JMSException
setFloatProperty
public void setFloatProperty(String name,
float value)
throws JMSException
- Throws:
JMSException
getDoubleProperty
public double getDoubleProperty(String name)
throws JMSException
- Throws:
JMSException
setDoubleProperty
public void setDoubleProperty(String name,
double value)
throws JMSException
- Throws:
JMSException
getStringProperty
public String getStringProperty(String name)
throws JMSException
- Throws:
JMSException
setStringProperty
public void setStringProperty(String name,
String value)
throws JMSException
- Throws:
JMSException
getObjectProperty
public Object getObjectProperty(String name)
throws JMSException
- Throws:
JMSException
setObjectProperty
public void setObjectProperty(String name,
Object value)
throws JMSException
- Throws:
JMSException
getPropertyNames
public Enumeration getPropertyNames()
throws JMSException
- Throws:
JMSException
getBytes
public byte[] getBytes()
- If there is a failure in the serialization process. The value that
is returned is NULL
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