This content has been marked as final.
Show 2 replies
-
1. Re: How to set transaction mode to XA in connection-factory?
jbertram Nov 6, 2013 3:21 PM (in response to ronsi)Based on the error, I assume you're attempting to set up a JMS bridge in EAP 6.1 using ONCE_AND_ONLY_ONCE quality-of-service (since that is the only mode that requires XAConnectionFactory implementations). If so, you should be aware that the bridge should not use a pooled-connection-factory but rather a normal JMS connection factory. If you want to configure a normal JMS connection factory to support XA then use something like this:
<connection-factory name="InVmXAConnectionFactory"> <factory-type>XA_GENERIC</factory-type> <connectors> <connector-ref connector-name="in-vm"/> </connectors> <entries> <entry name="java:/XAConnectionFactory"/> </entries> </connection-factory>
Also, you'll need to ensure that the other side of the bridge uses an XAConnectionFactory implementation as well.
-
2. Re: How to set transaction mode to XA in connection-factory?
ronsi Nov 6, 2013 3:49 PM (in response to jbertram)Exactly what I was looking for. Thanks Justin.