public interface MessageEventGenerator
Implemented by classes which generate message lifecycle events.
Defines a single method getName
which returns the name of
the event.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIRMATION_ID_KEY
Metadata key for confirmation ID.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createName()
Create a name for any
MleMarker that is generated. |
java.lang.String |
createQualifier()
Create a qualifier for any
MleMarker that is generated. |
boolean |
isConfirmation()
Deprecated.
since 3.6.2 No-one has ever produced a confirmation service. This will be removed.
|
boolean |
isTrackingEndpoint()
Returns true if this should be considered an 'end-point' for tracking
purposes, otherwise false.
|
static final java.lang.String CONFIRMATION_ID_KEY
Metadata key for confirmation ID.
java.lang.String createName()
java.lang.String createQualifier()
MleMarker
that is generated.
The default implementation is to return the unique-id of the component in question, or the empty string if not configured
MleMarker
that is generated.boolean isTrackingEndpoint()
Returns true if this should be considered an 'end-point' for tracking purposes, otherwise false.
@Deprecated @Removal(version="3.9.0") boolean isConfirmation()
Returns true if this event is a confirmation, otherwise false.