• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

How to DEFINE Q/ TopicConFactory with Support for XA Transactions, using JMSAdmin in WebSphere MQ

Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

My issue: I want to create/ define Queue and Topic Connection factory in IBM WebSphere MQ, with support for XA Transactions
BUT using the JMSAdmin tool, provided - I do NOT want to use the UI (MQExplorer)

I could create, Q and Topic Connection Factory, after launching JMSAdmin console and using

DEFINE qcf(myName-of-QConFactory) qmgr(my-QMgr-name)
but this way they get created using com.ibm.mq.jms.MQQueueConnectionFactory OR com.ibm.mq.jms.MQTopicConnectionFactory

<< I want com.ibm.mq.jms.MQXAConnectionFactoryFactory. What should I do ? >>

I can get the desired, if create/ define using the MQExplorer UI,
and check the "Support XA Transactions" check box (in the dialog)

How to do the same, using the JMSAdmin prompt and DEFINE keywords

Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My guess is that the default option supported by MQ is XA. So, if you define a queue using JMSAdmin, XA is automatically present. This is my guess.
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic