4

How can I programmatically create JMS topics and queues with HornetQ?

1 Answer 1

1

http://docs.jboss.org/hornetq/2.2.14.Final/user-manual/en/html/management.html

and if you read the chapter about how core addresses are translated into JMS objects:

http://docs.jboss.org/hornetq/2.2.14.Final/api/org/hornetq/api/core/client/ClientSession.html#createQueue(org.hornetq.api.core.SimpleString,%20org.hornetq.api.core.SimpleString,%20boolean)

And you could also use just the core api if you like.

2
  • Thanks, in this case, our problem is creating JMS messages. Core messages are wonderfully easy to create, but JMS... :)
    – Kico Lobo
    Mar 1, 2013 at 13:14
  • 1
    Remember, JMS Queues are translated as core queues with jms.queue. on its prefix. and topics are also core queues with some composed name of the topic address name, client-id and subscription name. Mar 1, 2013 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.