public interface MessageListener
MessageInformer to receive
notifications about inbound and outbound
messages running through a JMEDS framework instance.| Modifier and Type | Method and Description |
|---|---|
void |
receivedInboundMessage(Message msg,
ConnectionInfo connectionInfo,
AttributedURI optionalMessageId)
Called each time an inbound message arrives, which matches the interest of this message
listener instance (see
MessageSelector). |
void |
receivedOutboundMessage(Message msg,
ConnectionInfo connectionInfo,
AttributedURI optionalMessageId)
Called each time when an outbound message arrives, which matches the interest of this message
listener instance (see
MessageSelector). |
void receivedInboundMessage(Message msg, ConnectionInfo connectionInfo, AttributedURI optionalMessageId)
MessageSelector). The implementation should return as quickly as
possible.msg - the message of interestconnectionInfo - transport-specific addressing information attached to the messagevoid receivedOutboundMessage(Message msg, ConnectionInfo connectionInfo, AttributedURI optionalMessageId)
MessageSelector). The implementation should return as quickly as
possible.msg - the message of interestconnectionInfo - transport-specific addressing information attached to the message