Provides message correlation information. Operations and source callbacks (such as methods annotated with
OnSuccess
or @OnError) can obtain an instance in order to obtain information regarding how the message being processed correlates
to its context.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionOptional<org.mule.runtime.api.message.ItemSequenceInfo>booleanIndicates if outbound correlation ids are enabled at the application level or not.
-
Method Details
-
getEventId
String getEventId()- Returns:
- The id of the
Eventbeing processed
-
isOutboundCorrelationEnabled
boolean isOutboundCorrelationEnabled()Indicates if outbound correlation ids are enabled at the application level or not. Iffalse, outbound operations should not send correlation id, unless that operation has an explicit override.- Returns:
- whether outbound correlation ids is enabled by default or not
-
getCorrelationId
String getCorrelationId()- Returns:
- The correlation id of the
Eventcurrently being processed
-
getItemSequenceInfo
Optional<org.mule.runtime.api.message.ItemSequenceInfo> getItemSequenceInfo()- Returns:
- The item sequence information of the
Eventcurrently being processed
-