public final class BrokerMessageReceivedEventArgs
extends java.lang.Object
Constructor and Description |
---|
BrokerMessageReceivedEventArgs(java.lang.Exception receivingError)
Constructs the event from the error detected during receiving of the message.
|
BrokerMessageReceivedEventArgs(java.lang.String messageTypeId,
java.lang.Object message)
Constructs the event from the input parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getMessage()
Returns the message.
|
java.lang.String |
getMessageTypeId()
Returns type of the message.
|
java.lang.Exception |
getReceivingError()
Returns the error detected during receiving of the message.
|
public BrokerMessageReceivedEventArgs(java.lang.String messageTypeId, java.lang.Object message)
messageTypeId
- message
- public BrokerMessageReceivedEventArgs(java.lang.Exception receivingError)
receivingError
- public java.lang.String getMessageTypeId()
public java.lang.Object getMessage()
public java.lang.Exception getReceivingError()