jbmuser wrote : Hi Jeff,
| Thank you for the quick response.
| I created a queue from JConsole using the operation createQueue of MBean
org.jboss.messaging:module=JMS,type=Server and restarted the server. The
queue disappeared after the server restart.
| My understanding is that, if the
In JBM2 there are a couple of ways to do this either by using the core API see
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html/using-core.html#d0e1005.
Alternatively use the management API see
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
I don't agree this is a bug.
Don't confuse creating queues with *putting queues in JNDI*.
You can access your queue directly by doing something like:
JBossQueue queue = new JBossQueue(queue_name);
you'll find it is there, just like with ActiveMQ.
View the original post :
timfox wrote :
| You can access your queue directly by doing something like:
|
| JBossQueue queue = new JBossQueue(queue_name);
|
or use JMS API Session.createQueue(foo) (provided the JMS Queue was
still created first by using the management API)
View the original post :
jmesnil wrote :
| or use JMS API Session.createQueue(foo) (provided the JMS Queue was
| still created first by using the management API)
+1
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4239378#4239378
Reply to the post :
Hi Jeff,
Thank you for the quick response.
I created a queue from JConsole using the operation createQueue of MBean
org.jboss.messaging:module=JMS,type=Server and restarted the server. The
queue disappeared after the server restart.
My understanding is that, if the queue is really durable and
You cannot create a persistent queue that way. There are only two ways to
create a persistent queue:
1 - create a *-service.xml file and declare the queue in it and place the file
in the deploy directory
2 - use the new admin console (Embedded Jopr)
By the way, #2 employs #1 to actually
PeterJ wrote : You cannot create a persistent queue that way. There are only
two ways to create a persistent queue:
|
| 1 - create a *-service.xml file and declare the queue in it and place the
file in the deploy directory
|
| 2 - use the new admin console (Embedded Jopr)
|
| By
No, I did not realize this was about JBM 2. Sorry.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4239543#4239543
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239543
___
PeterJ wrote : No, I did not realize this was about JBM 2. Sorry.
No worries.
You aways help on the forum... so.. thank you!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4239575#4239575
Reply to the post :
11 matches
Mail list logo