MessageFailedEventArgs
public class MessageEventArgs
extends java.lang.Object
Constructor | Description |
---|---|
MessageEventArgs(Message message,
DeliveryOption deliverOption,
Topic messageTopic,
java.lang.String topicName) |
Creates MessageEventArgs instance.
|
Modifier and Type | Method | Description |
---|---|---|
DeliveryOption |
getDeliveryOption() |
Gets the enum that indicates how the message should be delivered.
|
Message |
getMessage() |
Gets the message to be delivered.
|
Topic |
getTopic() |
Gets the topic to which the message belongs.
|
java.lang.String |
getTopicName() |
Gets the name of the topic on which message is published.
|
public MessageEventArgs(Message message, DeliveryOption deliverOption, Topic messageTopic, java.lang.String topicName)
message
- Message to be delivered.deliverOption
- How message should be delivered.messageTopic
- Topic to which message belongs.topicName
- Topic on which message is published.public final Message getMessage()
public final DeliveryOption getDeliveryOption()
public final Topic getTopic()
public java.lang.String getTopicName()