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
AsynchAEException
public String getEndpointName()
getEndpointName
in interface MessageContext
public boolean propertyExists(String aKey) throws AsynchAEException
propertyExists
in interface MessageContext
AsynchAEException
public Endpoint getEndpoint()
getEndpoint
in interface MessageContext
public Object getRawMessage()
getRawMessage
in interface MessageContext
public void setMessageArrivalTime(long anArrivalTime)
setMessageArrivalTime
in interface MessageContext
public long getMessageArrivalTime()
getMessageArrivalTime
in interface MessageContext
public byte[] getByteMessage() throws AsynchAEException
getByteMessage
in interface MessageContext
AsynchAEException
public int getMessageIntProperty(String aMessagePropertyName) throws AsynchAEException
getMessageIntProperty
in interface MessageContext
AsynchAEException
public long getMessageLongProperty(String aMessagePropertyName) throws AsynchAEException
getMessageLongProperty
in interface MessageContext
AsynchAEException
public Object getMessageObjectProperty(String aMessagePropertyName) throws AsynchAEException
getMessageObjectProperty
in interface MessageContext
AsynchAEException
public String getMessageStringProperty(String aMessagePropertyName) throws AsynchAEException
getMessageStringProperty
in interface MessageContext
AsynchAEException
public boolean getMessageBooleanProperty(String aMessagePropertyName) throws AsynchAEException
getMessageBooleanProperty
in interface MessageContext
AsynchAEException
public Object getObjectMessage() throws AsynchAEException
getObjectMessage
in interface MessageContext
AsynchAEException
public String getStringMessage() throws AsynchAEException
getStringMessage
in interface MessageContext
AsynchAEException
Copyright © 2016. All rights reserved.