-
1. Re: Difference between JmsXA and *XAConnectionFactory
adrian.brock Jul 15, 2004 9:28 AM (in response to pharaohh)As discussed many times and mentioned on the WIKI and the JMS javadocs.
The XAConnectionFactory is intended for use by the application server,
e.g. the resource adapter (java:/JmsXA) can use it so that JCA can inject the transaction.
Unless you are going to take over all the plumbing involved in enlisting the
XASession's XAResource in the JTA transaction, you shouldn't use the XAConnectionFactory directly. -
2. Re: Difference between JmsXA and *XAConnectionFactory
jardia Jul 15, 2004 9:53 AM (in response to pharaohh)Hi Phar.
I think all the wikis and docu reference mentioned by adrian are referred to in:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51277
Unless you are going to take over all the plumbing involved in enlisting the
XASession's XAResource in the JTA transaction, you shouldn't use the XAConnectionFactory directly.
By "XAConnectionFactory directly" he presumably means the one bound by the ILs (?)
This is the closest i've gotten to getting an answer/explanation about the difference.
BTW your post to the jboss-dev forum titled "XA Messaging" has been or will be deleted. Please post it again in the user forum...so we can hopefully find some answers. We + customers are having the same problems.
cheers -
3. Re: Difference between JmsXA and *XAConnectionFactory
pharaohh Jul 15, 2004 10:40 AM (in response to pharaohh)I would love to do that, but I can't find the previous post anymore...I guess it has already been deleted...
I assumed that the cause of my problem (publishing before transaction commits) would be solved by the answers I received in this thread ;)
I'll let you know how things go once I try out the JmxXA approach...
Thanks to all for the quick responses!
Regards,
Phar -
4. Re: Difference between JmsXA and *XAConnectionFactory
jardia Jul 15, 2004 11:17 AM (in response to pharaohh)Posted your "XA Messaging" post under http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842263#3842263
-
5. Re: Difference between JmsXA and *XAConnectionFactory
pharaohh Jul 19, 2004 10:05 AM (in response to pharaohh)the java:/JmsXA lookup worked!
Thanks very much,
Phar