Package io.mats3
Interface MatsInitiator.MessageReference
- Enclosing interface:
- MatsInitiator
public static interface MatsInitiator.MessageReference
Reference information about the outgoing message.
-
Method Summary
-
Method Details
-
getMatsMessageId
String getMatsMessageId()- Returns:
- the globally unique Mats MessageId of the outgoing message - which will be available on the incoming
side as
MatsEndpoint.DetachedProcessContext.getMatsMessageId()
(where it could also be used to catch double deliveries, as it shall be utterly unique to this particular sent message). You could conceivably store this along with the order row in the database or something like this, i.e. "this is the Id of the particular Mats Message that sent this order on its way".
-