aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Difference between JMS Queue and MQ queue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Difference between JMS Queue and MQ queue" Watch "Difference between JMS Queue and MQ queue" New topic
Author

Difference between JMS Queue and MQ queue

murali kankanala
Ranch Hand

Joined: Nov 15, 2004
Posts: 110
Hi,

I would like to know what is the difference between JMS queue and MQ queue. When should i use and what? Where as i know we can connect MQ queue and JMS queue by using JMS API.

Could you please explan me in more clear?


Appreciate your help.


Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 457

murali kankanala wrote:Hi,

I would like to know what is the difference between JMS queue and MQ queue. When should i use and what? Where as i know we can connect MQ queue and JMS queue by using JMS API.

Could you please explan me in more clear?


Appreciate your help.




JMS is the specification provided by Sun for messaging. MQ Queue is the IBM's implementation of JMS. Similary JBoss has its own implementation. JMS Queue is the generic term. MQ Queue is the concrete implementation provided by IBM.


Regards
KumarRaja

murali kankanala
Ranch Hand

Joined: Nov 15, 2004
Posts: 110
Kumar Raja,

I understood what you said. But could you please refer this link http://www.ibm.com/developerworks/websphere/library/techarticles/0610_bicheno/0610_bicheno.html
Here what is JMS Server means? I knew what is MQ Server.

I will give one scenario: Lets I have WebSphere and IBM MQ Server seperately. I want to send messages to MQ Server and receive messages from MQ Server to my MDB. For this MQ folks configured MQ server. We do get Host Name, Queue Manager and Queue names. Now in in the WebSphere i have to create a Queue Connection Factory and Queues. Here are we creating any Physical Queues in WebSphere or just we are trying to create a JNDI with which we can connect to actual MQ Queue Manager/Queues?

If you see diagram in the link that i have provided they are explaning JMS Server and MQ Server are different.

Could you please explain me?


Thank you.
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 457

Hi Murali,

I went through the link you provided and it seems to discuss about configuring JMS Nodes which I assume to be specific to IBM's implementation. I did not use much of MQ, so we need to wait for some one else to explain this. I would be glad to know this architecture. If you come across the answer, please post it back here, so that people like me can be benefited.
raizel Ruf
Greenhorn

Joined: Oct 26, 2010
Posts: 3
Kumar Raja wrote:
murali kankanala wrote:Hi,

I would like to know what is the difference between JMS queue and MQ queue. When should i use and what? Where as i know we can connect MQ queue and JMS queue by using JMS API.

Could you please explan me in more clear?


Appreciate your help.




JMS is the specification provided by Sun for messaging. MQ Queue is the IBM's implementation of JMS. Similary JBoss has its own implementation. JMS Queue is the generic term. MQ Queue is the concrete implementation provided by IBM.


Let's say we have a JMS server. And we have an MQ Queue. Can we consume the MQ Queue from the JMS server ? how?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Difference between JMS Queue and MQ queue
 
Similar Threads
MQ Publish/Subscribe
Difference between Destination and queue/topic
Difference in Messaging Bridges and JMS Module
JMS
Can JMS + MQ work together?