public class BrokerEvent extends AmqpEvent
source| Constructor and Description |
|---|
BrokerEvent(Object source,
MessageProperties properties)
Create an instance with the provided source and properties.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getEventProperties()
Properties of the event
MessageProperties.getHeaders(). |
String |
getEventType()
The event type (
MessageProperties.getReceivedRoutingKey()). |
MessageProperties |
getMessageProperties()
The complete
MessageProperties from the event representing the event. |
String |
toString() |
getTimestampgetSourcepublic BrokerEvent(Object source, MessageProperties properties)
source - the source.properties - the properties.public String getEventType()
MessageProperties.getReceivedRoutingKey()).public Map<String,Object> getEventProperties()
MessageProperties.getHeaders().public MessageProperties getMessageProperties()
MessageProperties from the event representing the event.
(The body is always blank).public String toString()
toString in class EventObject