users@glassfish.java.net

Creating / Registering JMS queues dynamically

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Jun 2007 01:38:05 PDT

Hey,

I have to create JMS queues dynamically by java code,

So two questions goes here:


1) Is it possible to create/delete/update queue details via Java Code?
2) Inside a container, I usually declare a MessageDrivenBean and use the
@MessageDriven(mappedName="QueueName") annotation,

If the queue names are created dynamically, I cannot use the name statically within the annotation,

So what is the right way to create a messageDrivenBean inside a container with a dynamic
queue name?


Thanks.
[Message sent by forum member 'trouby' (trouby)]

http://forums.java.net/jive/thread.jspa?messageID=221444