Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is Replacement for com.ibm.mq.jms.MQQueueConnectionFactory is javax.jms.QueueConnectionFactory ?  RSS feed

 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working in a legacy system that instantiates MQQueueConnectionFactory and sends message to a particular queue. I am looking for ways to replace using javax.jms packages ?
But I understand javax.jms.QueueConnectionFactory is an interface and cannot be instantiated. javax.jms.QueueConnectionFactory is an Application server administered object.

Can you please suggest me ways to replace the native API to javax.jms API.

Regards,
Rajesh
 
Santhosh ayiappan
Ranch Hand
Posts: 81
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create a Foreign JMS Provider within your app server to point to the MQ Object. Once the Foreign JMS Provider is created, you should be able to use the javax.jms API to consume/post messages to the Queue.
 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Santhosh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!