|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
XA support for Websphere MQHi all.
I'd like to know whether XA transactions in Websphere MQ are supported by BTM or not. In fact I can't find Websphere MQ in the list provided here: http://docs.codehaus.org/display/BTM/JmsXaSupportEvaluation Moreover in another topic of this forum you can find: It might be possible to use WebSphere MQ's XA support even if IBM does not support it if it has a XAConnectionFActory implementation. Could you please explain me it in more details? Thanks. Paolo. |
|
|
Re: XA support for Websphere MQI've never tried WebsphereMQ myself so I can't say for sure if it's going to work or not. Nevertheless I see no reason why it wouldn't work.
You just need to figure out the way to get the MQXAConnectionFactory, be it from some JNDI provider or via direct construction. If you have some trouble figuring out what to do feel free to ask for help here. |
|
|
Re: XA support for Websphere MQLudovic Orban wrote:
> I've never tried WebsphereMQ myself so I can't say for sure if it's > going to work or not. Nevertheless I see no reason why it wouldn't work. > > You just need to figure out the way to get the MQXAConnectionFactory, > be it from some JNDI provider or via direct construction. If you have > some trouble figuring out what to do feel free to ask for help here. > I have some colleagues who report that they failed to get things working for IBM MQ XA with both Bitronix and Atomikos on Tomcat but that it worked out of the box with JOTM. It would be helpful if someone in the community who does use IBM MQ XA with Bitronix could supply some helpful instructions to go on the BTM wiki. Simon --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
RE: XA support for Websphere MQI've only used it in a standalone application, not with Tomcat, but I
didn't have any problems using BTM and WebSphere MQ together. Here's the Spring bean configuration I used for the connection factory. Note, you have to use the transportType 0 (MQJMS_TP_BINDINGS_MQ) for XA to work properly. <!-- XA JMS ConnectionFactory --> <bean id="connectionFactory" class="bitronix.tm.resource.jms.PoolingConnectionFactory" init-method="init" destroy-method="close"> <property name="className" value="com.ibm.mq.jms.MQXAConnectionFactory"/> <property name="uniqueName" value="jms/xaConnectionFactory"/> <property name="maxPoolSize" value="10"/> <property name="testConnections" value="true"/> <property name="driverProperties"> <props> <prop key="transportType">0</prop> <prop key="queueManager">MQD001CFG</prop> </props> </property> </bean> -----Original Message----- From: Simon [mailto:simbo1905@...] Sent: 21 September 2009 16:49 To: user@... Subject: Re: [btm-user] XA support for Websphere MQ Ludovic Orban wrote: > I've never tried WebsphereMQ myself so I can't say for sure if it's > going to work or not. Nevertheless I see no reason why it wouldn't work. > > You just need to figure out the way to get the MQXAConnectionFactory, > be it from some JNDI provider or via direct construction. If you have > some trouble figuring out what to do feel free to ask for help here. > I have some colleagues who report that they failed to get things working for IBM MQ XA with both Bitronix and Atomikos on Tomcat but that it worked out of the box with JOTM. It would be helpful if someone in the community who does use IBM MQ XA with Bitronix could supply some helpful instructions to go on the BTM wiki. Simon --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: XA support for Websphere MQThanks for the config example, Steven.
Could you please provide us with more details about your environment? Which version of Websphere MQ you're using, the licencing options you're using and any other relevant information you can think of? What I'm curious about is that you haven't specified any server name, port, username nor password to connect to so I'm wondering how the MQXAConnectionFactory figures out where to connect. I'll try to find, install and test an evaluation version in the meantime. Ludovic 2009/9/21 Long Steven <Steven.Long@...>
I've only used it in a standalone application, not with Tomcat, but I |
|
|
RE: XA support for Websphere MQFrom: Ludovic Orban [mailto:ludovic.orban@...] Sent: 21 September 2009 19:25 To: user@... Subject: Re: [btm-user] XA support for Websphere MQ Could you please provide us with more details about your environment? Which version of Websphere MQ you're using, the licencing options you're using and any other relevant information you can think of? What I'm curious about is that you haven't specified any server name, port, username nor password to connect to so I'm wondering how the MQXAConnectionFactory figures out where to connect. I'll try to find, install and test an evaluation version in the meantime. Ludovic 2009/9/21 Long Steven I've only used it in a standalone application, not with Tomcat, but I
|
| Free embeddable forum powered by Nabble | Forum Help |