We have what I believe is a fairly common XA use case:
However we also need a way to handle internal errors and poison messages. The control flow we have in mind is something like this:
Is this a good approach, should we do it differently? How can we do this with EJBs?
Retrieving data ...