[jboss-dev-forums] [Design of JBoss ESB] - Re: Websphere MQ with XA connections

tfennelly do-not-reply at jboss.com
Wed May 6 09:52:21 EDT 2009


Sorry... I was wrong on something there (at least one thing ;) )....

I am getting an XAResource enlisted into a new transaction (org.jboss.soa.esb.listeners.jca.EndpointProxy:326:branches/JBESB_4_4_GA_CP) when I use the WMQ Adapter config (option #1 above).

So what's the magic for getting the com.ibm.mq.jms.context.WMQInitialContextFactory class to create an XA Connection Factory (com.ibm.mq.jms.MQXAQueueConnectionFactory I assume) using direct JNDI??

As you can see from my config above, my non-JCA listener config is:

  | <jms-provider name="IBMMQ" jndi-URL="localhost:1414/SYSTEM.DEF.SVRCONN"
  |               jndi-context-factory="com.ibm.mq.jms.context.WMQInitialContextFactory"
  |               jndi-pkg-prefix=""
  |               connection-factory="ConnectionFactory">
  | 
  | 
  |     <jms-bus busid="quickstartEsbChannel1">
  |         <jms-message-filter dest-type="QUEUE" dest-name="WMQESBAWARE1" transacted="true"/>
  |     </jms-bus>
  | 
  | </jms-provider>
  | 

Any ideas?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229029#4229029

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229029



More information about the jboss-dev-forums mailing list