Search code examples
jbossjmsjboss7.xmessaginghornetq

Jboss Hornetq : queue Vs jms-queue


In the messaging subsystem of jboss there are two possibilities to create a queue:

hornetq-server=default/queue= and hornetq-server=default/jms-queue=

What is the difference between these two queues?

In which case we should use "queue" instead of jms-queue?

Thank you


Solution

  • HornetQ lets you create Core queues as well as JMS queues. The core queues are suported by its own core api and it is importantly non-JMS api.

    So if you use core queues you are tied to HOrnetq and lose the advantages of JMS.