2.7 Setup for JBOss HornetQ - jmstoolbox/jmstoolbox GitHub Wiki

JBoss HornetQ

http://hornetq.jboss.org/

"JMS" mode vs "CORE" mode

JMSToolBox can obtain the list of queues and topics from an HornetQ server in two ways:

  • in "JMS" mode (default), JMSToolBox obtains the list of queues and topics that are defined in the hornetq-jms.xml file
  • in "CORE" mode, JMSToolBox obtains the list of queues (no topics in this mode) that are defined in the hornetq-queues.xml file. In this mode, only Queues with a name starting with "jms.queue." are considered as they are the only queues accessible via a JMS client More detail here

Requirements

In hornetq-configuration.xml, add:

<security-setting match="jms.queue.hornetq.management">
  <permission type="manage" roles="admin" />
</security-setting>

Extra JARS

No extra jar is needed as JMSToolBox is bundled with HornetQ v2.4.6 jars

Connection Properties

Name Description
Host HornetQ netty acceptor host name (eg."localhost")
Port HornetQ netty acceptor listening port (eg."5445")
User/Password User allowed to connect to the HornetQ server

Properties

Name Description
use_CORE_queues_instead_of_JMS_destinations use "CORE" mode instead of the default "JMS" mode
http-enabled Use an HTTP netty acceptor to connect to the server
ssl-enabled Use an SSL netty acceptor to connect to the server
trust-store-path Trust store (eg"D:/somewhere/trust.jks")
trust-store-password Trust store password