|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageHeader
This interface provides access to message property information for the Management Framework. The access into the properties abides by the same rules as JMS properties.
All the methods methods below can throw an MFException "If used improperly". For all methods with a related JMS method, an MFException can be thrown for the same reason as what is specified within the JMS javadoc and specification. Please see javax.jms.Message for more information.
Message
Method Summary | |
---|---|
boolean |
getBooleanProperty(java.lang.String name)
Retrieve a boolean property from this message. |
java.lang.String |
getBrokerName()
Retrieve the broker name this message was retrieved from. |
byte |
getByteProperty(java.lang.String name)
Retrieve a byte property from this message. |
double |
getDoubleProperty(java.lang.String name)
Retrieve a double property from this message. |
float |
getFloatProperty(java.lang.String name)
Retrieve a float property from this message. |
int |
getIntProperty(java.lang.String name)
Retrieve a int property from this message. |
java.lang.String |
getJMSCorrelationID()
Retrieve the JMSCorrelationID |
byte[] |
getJMSCorrelationIDAsBytes()
Retrieve the JMSCorrelationID as bytes |
int |
getJMSDeliveryMode()
Retrieve the JMSDeliveryMode |
IDestination |
getJMSDestination()
Get the JMSDestination |
long |
getJMSExpiration()
Retrieve the JMS expiration |
java.lang.String |
getJMSMessageID()
Retrieve the JMSMessageID |
int |
getJMSPriority()
Retrieve the JMS priority |
boolean |
getJMSRedelivered()
Retrieve the JMS redelivered flag |
IDestination |
getJMSReplyTo()
Get the JMSReplyTo. |
long |
getJMSTimestamp()
Get the JMS timestamp. |
java.lang.String |
getJMSType()
Get the JMS type |
long |
getLongProperty(java.lang.String name)
Retrieve a long property |
java.lang.Object |
getObjectProperty(java.lang.String name)
Retrieve a Object property |
java.util.Enumeration |
getPropertyNames()
Retrieve the property names |
short |
getShortProperty(java.lang.String name)
Retrieve a short property |
java.lang.String |
getStringProperty(java.lang.String name)
Retrieve a String property |
IMessageHeaderToken |
getToken()
Retrieve a IMessageHeaderToken that represents this message. |
boolean |
propertyExists(java.lang.String name)
Test whether or not a given property name exists. |
Method Detail |
---|
boolean getBooleanProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve.
MFException
- If the method is used improperly.Message.getBooleanProperty( String )
java.lang.String getBrokerName() throws MFException
MFException
byte getByteProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve.
MFException
- If the method is used improperly.Message.getByteProperty( String )
double getDoubleProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve.
MFException
- If the method is used improperly.Message.getDoubleProperty( String )
float getFloatProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve.
MFException
- If the method is used improperly.Message.getFloatProperty( String )
int getIntProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve.
MFException
- If the method is used improperly.Message.getIntProperty( String )
java.lang.String getJMSCorrelationID() throws MFException
MFException
- If the method is used improperly.javax.jms.Message#getJMSCorrelationID( String )
byte[] getJMSCorrelationIDAsBytes() throws MFException
MFException
- If the method is used improperly.Message.getJMSCorrelationIDAsBytes()
int getJMSDeliveryMode() throws MFException
MFException
- If used improperly.Message.getJMSDeliveryMode()
IDestination getJMSDestination() throws MFException
MFException
- If used improperlyMessage.getJMSDestination()
long getJMSExpiration() throws MFException
MFException
- If used improperlyMessage.getJMSExpiration()
java.lang.String getJMSMessageID() throws MFException
MFException
- If used improperlyMessage.getJMSMessageID()
int getJMSPriority() throws MFException
MFException
- If used improperlyMessage.getJMSPriority()
boolean getJMSRedelivered() throws MFException
MFException
- If used improperlyMessage.getJMSRedelivered()
IDestination getJMSReplyTo() throws MFException
MFException
- If used improperlyMessage.getJMSReplyTo()
long getJMSTimestamp() throws MFException
MFException
- If used improperlyMessage.getJMSTimestamp()
java.lang.String getJMSType() throws MFException
MFException
- If used improperlyMessage.getJMSType()
long getLongProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve
MFException
- If used improperlyMessage.getLongProperty( String )
java.lang.Object getObjectProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve
MFException
- If used improperlyMessage.getObjectProperty( String )
java.util.Enumeration getPropertyNames() throws MFException
MFException
- If used improperlyMessage.getPropertyNames()
short getShortProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve
MFException
- If used improperlyMessage.getShortProperty( String )
java.lang.String getStringProperty(java.lang.String name) throws MFException
name
- The name of the property to retrieve
MFException
- If used improperlyjavax.jms.Message#getStringPropeBrty( String )
IMessageHeaderToken getToken() throws MFException
MFException
- If the method is used improperlyboolean propertyExists(java.lang.String name) throws MFException
name
- The name of the property to test
MFException
- If used improperlyMessage.propertyExists( String )
|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |