public class JmsMessageContext extends Object implements MessageContext
| Constructor and Description |
|---|
JmsMessageContext() |
JmsMessageContext(javax.jms.Message aMessage,
String anEndpointName) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteMessage() |
Endpoint |
getEndpoint() |
String |
getEndpointName() |
long |
getMessageArrivalTime() |
boolean |
getMessageBooleanProperty(String aMessagePropertyName) |
int |
getMessageIntProperty(String aMessagePropertyName) |
long |
getMessageLongProperty(String aMessagePropertyName) |
Object |
getMessageObjectProperty(String aMessagePropertyName) |
String |
getMessageStringProperty(String aMessagePropertyName) |
Object |
getObjectMessage() |
Object |
getRawMessage() |
String |
getStringMessage() |
boolean |
propertyExists(String aKey) |
void |
setMessageArrivalTime(long anArrivalTime) |
public JmsMessageContext()
public JmsMessageContext(javax.jms.Message aMessage,
String anEndpointName)
throws AsynchAEException
AsynchAEExceptionpublic String getEndpointName()
getEndpointName in interface MessageContextpublic boolean propertyExists(String aKey) throws AsynchAEException
propertyExists in interface MessageContextAsynchAEExceptionpublic Endpoint getEndpoint()
getEndpoint in interface MessageContextpublic Object getRawMessage()
getRawMessage in interface MessageContextpublic void setMessageArrivalTime(long anArrivalTime)
setMessageArrivalTime in interface MessageContextpublic long getMessageArrivalTime()
getMessageArrivalTime in interface MessageContextpublic byte[] getByteMessage()
throws AsynchAEException
getByteMessage in interface MessageContextAsynchAEExceptionpublic int getMessageIntProperty(String aMessagePropertyName) throws AsynchAEException
getMessageIntProperty in interface MessageContextAsynchAEExceptionpublic long getMessageLongProperty(String aMessagePropertyName) throws AsynchAEException
getMessageLongProperty in interface MessageContextAsynchAEExceptionpublic Object getMessageObjectProperty(String aMessagePropertyName) throws AsynchAEException
getMessageObjectProperty in interface MessageContextAsynchAEExceptionpublic String getMessageStringProperty(String aMessagePropertyName) throws AsynchAEException
getMessageStringProperty in interface MessageContextAsynchAEExceptionpublic boolean getMessageBooleanProperty(String aMessagePropertyName) throws AsynchAEException
getMessageBooleanProperty in interface MessageContextAsynchAEExceptionpublic Object getObjectMessage() throws AsynchAEException
getObjectMessage in interface MessageContextAsynchAEExceptionpublic String getStringMessage() throws AsynchAEException
getStringMessage in interface MessageContextAsynchAEExceptionCopyright © 2016. All rights reserved.