This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 136
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: 136
Thank you Santhosh
 
wood burning stoves
 
subject: Is Replacement for com.ibm.mq.jms.MQQueueConnectionFactory is javax.jms.QueueConnectionFactory ?
 
Similar Threads
Problme Accessing QueueConnectionFactory in WebSphere 5.0
jar file errors in EJB
Question about queue~
JMS Request/Reply mode
error on import javax.jms.*;