SamCooper / JAVA_SPEC_RIDS

Repository for collecting MO Java API RIDs
0 stars 0 forks source link

Supply the transaction Id for an interaction #13

Open SamCooper opened 9 years ago

SamCooper commented 9 years ago

M&C Action service needs to know what the transaction id of the submitAction operation will be before it is sent as it forms part of the Actioninstance object identifier.

We need to find a way of supplying that transaction id to the MAL. This could cause problems with over lap though so maybe requesting a new ID from a MAL and supplying that?

DavidFeliot commented 9 years ago

The new ID should be provided by a MALConsumer instance.

SamCooper commented 8 years ago

An alternative would be to have the ability to register a callback with the operation that gets invoked once the transaction ID has been created but before the message is dispatched. A message interceptor if you like.