users@glassfish.java.net

Re: createTopic and createQueue

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Mar 2007 04:06:46 PST

In mq (open mq) that is bundled with glassfish , topic and queue destinations can be auto created when a client first tries to access this queue/topic.
The properties file : GFHOME/imq/lib/props/broker/default.properties has a property imq.autocreate.queue/imq.autocreate.topic that governs the behavior of MQ broker for autocreation. By default these are true.
Iam not aware of anyway the MDB could programatically subscribe to a topic/queue destination.
[Message sent by forum member 'rampsarathy' (rampsarathy)]

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