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