MessageT - @Beta
public interface MessageListener<MessageT extends Message>
Represents a message listener which refers to a specific message type MessageT.
For each message type there will be a specific message listener class which provides access to the respective
MessageTopic and an instance of MessageFactory.
Allows to specify logic to treat a received instance of MessageT in the method onMessage.
| Modifier and Type | Method and Description |
|---|---|
Class<MessageT> |
getMessageType()
Returns the concrete type of message that this listener can process.
|
void |
onMessage(MessageT message)
Called upon reception of one message of type
MessageT. |
Copyright © 2019 SAP SE. All rights reserved.