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