I wanted to implement the following error handling behaviour:
a transacted jboss internal jms queue
a custom service that may throw either ActionProcessingFaultException or a RuntimeException.
Upon an exception the system shell catch the exception and write it as a TextMessage in a custom format into an error queue.
The transaction on the incoming jms queue should only be rolled back if there had been a fault sending the ErrorMessage to the ErrorQueue. (commit upon successful processing or sucessfull sending of error).
How can I implement a behaviour like this in JBossESB?
If I take a look at