public interface BusinessEvent
Modifier and Type | Field and Description |
---|---|
static String |
COMPOSITE_INSTANCE_CREATED_TIME |
static String |
CONTEXT
Event Context.
|
static String |
DURABLE
Durability of event subscription.
|
static String |
EDN_BUS_PUBLISHED
Flag indicates if the event is published by EDN Bus.
|
static String |
EVENT_ID
Standard header name.
|
static String |
LOCAL_NAME
Local name of event.
|
static String |
MODE
Mode of event.
|
static String |
NAME |
static String |
NAMESPACE
Namespace of event.
|
static String |
OWNER
Owner of event.
|
static String |
PARENT_ID
Standard header name.
|
static String |
PAYLOAD_NAME |
static String |
PERSISTENT
Persistent delivery mode of event.
|
static String |
PRIORITY
Event priority for delivery
|
static int |
PRIORITY_NORMAL
Default (normal) event delivery priority value.
|
static String |
PROPERTY_COMPOSITE_INSTANCE_ID |
static String |
PROPERTY_CONVERSATION_ID |
static String |
PROPERTY_ECID |
static String |
PROPERTY_PARENT_COMPONENT_INSTANCE_ID |
static String |
PUBLISHED_TIME
Event's published time.
|
static String |
SOURCE
Source of event.
|
static String |
TIME_TO_LIVE
Tim of Live of event.
|
static String |
TRACKING_IS_EDN_EVENT |
Modifier and Type | Method and Description |
---|---|
Document |
getAsDoc()
Return the event as a DOM document.
|
Element |
getBody()
Get the XML body of the event.
|
String |
getBodyAsText()
Get the payload body as serialized XML text.
|
QName |
getEventName()
The name of the Event.
|
Map<String,Object> |
getProperties()
Get all the properties of this event.
|
Object |
getProperty(String name)
Get a single value for a header.
|
static final String NAME
static final String EVENT_ID
static final String PARENT_ID
static final String PRIORITY
static final String PUBLISHED_TIME
static final String OWNER
static final String SOURCE
static final String CONTEXT
static final String MODE
static final String NAMESPACE
static final String LOCAL_NAME
static final String TIME_TO_LIVE
static final String PERSISTENT
static final String DURABLE
static final String EDN_BUS_PUBLISHED
static final String PROPERTY_ECID
static final String PROPERTY_PARENT_COMPONENT_INSTANCE_ID
static final String PROPERTY_CONVERSATION_ID
static final String PROPERTY_COMPOSITE_INSTANCE_ID
static final String COMPOSITE_INSTANCE_CREATED_TIME
static final String TRACKING_IS_EDN_EVENT
static final String PAYLOAD_NAME
static final int PRIORITY_NORMAL
QName getEventName()
Object getProperty(String name)
name
- - property nameMap<String,Object> getProperties()
Element getBody()
String getBodyAsText()
Document getAsDoc()