-
1. Re: Transaction Manager JBOSS & HornetQ
Clebert Suconic Oct 15, 2010 8:52 AM (in response to Sergiu Pienar)yes.. you're basically asking if HornetQ is XA compliant.
Also, look at the hornetq/ee/recovery-xa example
-
2. Re: Transaction Manager JBOSS & HornetQ
Sergiu Pienar Oct 15, 2010 2:47 PM (in response to Clebert Suconic)Thx ,
Additional question : is there any setting to be made for this XA compliancy to be enabled ?
Sorry for bugging you.
-
3. Re: Transaction Manager JBOSS & HornetQ
Clebert Suconic Oct 15, 2010 3:26 PM (in response to Sergiu Pienar)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).
-
4. Re: Transaction Manager JBOSS & HornetQ
Sergiu Pienar Oct 16, 2010 8:42 AM (in response to Clebert Suconic)Thank you Clebert.
Greatly appreciated.
Have a good day.
-
5. Re: Transaction Manager JBOSS & HornetQ
Clebert Suconic Oct 16, 2010 10:03 AM (in response to Sergiu Pienar)There are a few examples on mdbs doing this. Look at the recovery example.
-
6. Re: Transaction Manager JBOSS & HornetQ
Sergiu Pienar Oct 19, 2010 5:10 AM (in response to Sergiu Pienar)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 ?
Thk u.