org.apache.uima.adapter.jms.message
Class JmsMessageContext
java.lang.Object
org.apache.uima.adapter.jms.message.JmsMessageContext
- All Implemented Interfaces:
- MessageContext
public class JmsMessageContext
- extends java.lang.Object
- implements MessageContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsMessageContext
public JmsMessageContext()
JmsMessageContext
public JmsMessageContext(javax.jms.Message aMessage,
java.lang.String anEndpointName)
throws AsynchAEException
- Throws:
AsynchAEException
getEndpointName
public java.lang.String getEndpointName()
- Specified by:
getEndpointName in interface MessageContext
propertyExists
public boolean propertyExists(java.lang.String aKey)
throws AsynchAEException
- Specified by:
propertyExists in interface MessageContext
- Throws:
AsynchAEException
getEndpoint
public Endpoint getEndpoint()
- Specified by:
getEndpoint in interface MessageContext
getRawMessage
public java.lang.Object getRawMessage()
- Specified by:
getRawMessage in interface MessageContext
setMessageArrivalTime
public void setMessageArrivalTime(long anArrivalTime)
- Specified by:
setMessageArrivalTime in interface MessageContext
getMessageArrivalTime
public long getMessageArrivalTime()
- Specified by:
getMessageArrivalTime in interface MessageContext
getByteMessage
public byte[] getByteMessage()
throws AsynchAEException
- Specified by:
getByteMessage in interface MessageContext
- Throws:
AsynchAEException
getMessageIntProperty
public int getMessageIntProperty(java.lang.String aMessagePropertyName)
throws AsynchAEException
- Specified by:
getMessageIntProperty in interface MessageContext
- Throws:
AsynchAEException
getMessageLongProperty
public long getMessageLongProperty(java.lang.String aMessagePropertyName)
throws AsynchAEException
- Specified by:
getMessageLongProperty in interface MessageContext
- Throws:
AsynchAEException
getMessageObjectProperty
public java.lang.Object getMessageObjectProperty(java.lang.String aMessagePropertyName)
throws AsynchAEException
- Specified by:
getMessageObjectProperty in interface MessageContext
- Throws:
AsynchAEException
getMessageStringProperty
public java.lang.String getMessageStringProperty(java.lang.String aMessagePropertyName)
throws AsynchAEException
- Specified by:
getMessageStringProperty in interface MessageContext
- Throws:
AsynchAEException
getMessageBooleanProperty
public boolean getMessageBooleanProperty(java.lang.String aMessagePropertyName)
throws AsynchAEException
- Specified by:
getMessageBooleanProperty in interface MessageContext
- Throws:
AsynchAEException
getObjectMessage
public java.lang.Object getObjectMessage()
throws AsynchAEException
- Specified by:
getObjectMessage in interface MessageContext
- Throws:
AsynchAEException
getStringMessage
public java.lang.String getStringMessage()
throws AsynchAEException
- Specified by:
getStringMessage in interface MessageContext
- Throws:
AsynchAEException
Copyright © 2012. All Rights Reserved.