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