[jboss-user] [JBoss Messaging] - Re: How to create persistent queues on the fly

jmesnil do-not-reply at jboss.com
Tue Jun 23 05:03:25 EDT 2009

How does the problem occur? Do you have an exception when looking up the queue in JNDI?

There is a bug in the creation of JMS queue using the management API.
The underlying core queue is durable and messages will survive server restart but when the server is restarted, the JMS queue is not bound to JNDI and can not be looked up.

We will fix the bug. In the meantime, a possible workaround for you is to always recreate the queue when the server is restarted using the management API. The 1st time, it will create the queue, the other times, the queue won't be created (it already exists) but the queue will be bound to JNDI again.

Tell us if this workaround works for you.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239297#4239297

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239297

More information about the jboss-user mailing list