This content has been marked as final.
Show 1 reply
-
1. Re: Dynamic queues
jmesnil Jul 22, 2009 6:47 AM (in response to bendg25)"bendg25" wrote:
Hi,
I would like to use JBoss Messaging 2 but need to check some things first.
1) Can I create queues dynamically at runtime (using MBeans for example)
yes http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html/management.html#d0e4803
2) Can these dynamic queues be persistent
these queues will be durable (their messages will be persisted).
However, when the server is restarted, they won't be bound to JNDI.
3) Can these dynamic queues be told to use a security manager?
I'm not sure to understand your question.
JBM 2.0 defines a security manager http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html/security.html
4) Do expired messages get moved straight to the DLQ, ie. immediately?
Expiration is not immediate (as it'd require to scan in permanence the queues, slowing down the server).
A expiry reaper periodically moves the expired messages to the DLQ
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html/message-expiry.html