yes.. you're basically asking if HornetQ is XA compliant.
Also, look at the hornetq/ee/recovery-xa example
Additional question : is there any setting to be made for this XA compliancy to be enabled ?
Sorry for bugging you.
If you're using MDBs.. the JCA adapter will do it automatically for you.
If you are doing the JCA Adapter from jms-xa, it will also be done automatically.
^^ look at the application's server documentation for how to do it ^^
If you're using regular Connection Factories, you should declare them as XA and enlist them on the transaction manager (at that point you should refer to the TM's documentation on how to enlist resources).
Thank you Clebert.
Have a good day.
There are a few examples on mdbs doing this. Look at the recovery example.
Well , it all seems to be configured properly but i can't make it work.
I have an EJB test client ; if this works well , the message gets processed , but if in the EJB client i throw an EJBException the message will still reach the client.How can this be fixed ?