File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Is Replacement for com.ibm.mq.jms.MQQueueConnectionFactory is javax.jms.QueueConnectionFactory ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Is Replacement for com.ibm.mq.jms.MQQueueConnectionFactory is javax.jms.QueueConnectionFactory ?" Watch "Is Replacement for com.ibm.mq.jms.MQQueueConnectionFactory is javax.jms.QueueConnectionFactory ?" New topic
Author

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

Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 141
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

Joined: Jan 30, 2007
Posts: 80

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

Joined: Oct 08, 2002
Posts: 141
Thank you Santhosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Replacement for com.ibm.mq.jms.MQQueueConnectionFactory is javax.jms.QueueConnectionFactory ?