-
1. Re: XA & transacted in HornetQ RA
ataylor Mar 10, 2010 3:41 AM (in response to jmesnil)+1, u are right.
fyi useXA is whether we use an xa connection isTransacted is whether the session is enlisted with the tm via the endpoint
-
2. Re: XA & transacted in HornetQ RA
jmesnil Mar 12, 2010 11:34 AM (in response to ataylor)ataylor wrote:
+1, u are right.
fyi useXA is whether we use an xa connection isTransacted is whether the session is enlisted with the tm via the endpoint
I don't understand what you mean about isTransacted.
In HornetQRAManagedConnection.setup(), both useXA and isTransacted are used to determine the type of session; either XA session or regular (transacted/non-transacted) JMS Session.
My issue is that since the RA will default useXA to true, the RA will not create any regular JMS Sessions.
I have test failing because of that. They use a non-transacted session and calls recover() which is not allowed on a XA session.
Am I missing something obvious here? I am not that familiar with JCA but I don't understand how pieces fit together....
Oh well, I'll read the spec this week-end. At worst, it'll help me caught up on lost sleep