-
1. Re: How Do I Configure HornetQ With HermesJMS?
gaohoward May 21, 2012 7:34 AM (in response to opticyclic)How do you create the queue? Did get more error info like stack trace along with the JMSException?
Howard
-
2. Re: How Do I Configure HornetQ With HermesJMS?
opticyclic May 28, 2012 5:45 AM (in response to gaohoward)I created the queue from Hermes with:
Actions -> New -> Add Queue
Name = Test
Domain = Queue
Durable = False
The full stack trace is:
javax.jms.JMSException: There is no queue with name Test
at org.hornetq.jms.client.HornetQSession.createQueue(HornetQSession.java:407)
at hermes.impl.jms.SimpleDestinationManager.createDesintaion(SimpleDestinationManager.java:60)
at hermes.impl.JNDIDestinationManager.createDesintaion(JNDIDestinationManager.java:105)
at hermes.impl.jms.SimpleDestinationManager.getDestination(SimpleDestinationManager.java:137)
at hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:387)
at hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:323)
at hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:122)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Thread.java:662) -
3. Re: How Do I Configure HornetQ With HermesJMS?
clebert.suconic May 29, 2012 11:15 AM (in response to opticyclic)There's something wrong with the Hermes integration. This method here is used to create the Queue Object, not actually creating the queue:
org.hornetq.jms.client.HornetQSession.createQueue(HornetQSession.java:407)
However, I believe some implementations will create the actual queue after it.