[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - supporting multiple queues.xml

jmesnil do-not-reply at jboss.com
Fri Jan 23 09:36:26 EST 2009


a new requirements is to support multiples queues settings configuration files from the same directory.

Currently, QueueSettingsDeployer will find all the resources named "queues.xml" and deploy each of them.

The new approach would be to deploy /any/ file ending with "jbm-queues.xml" (e.g. test-jbm-queues.xml & prod-jbm-queues.xml)
This means that the deployer must find all files which matches this name suffix.
I think we can make both the code and the setup simpler by only looking for files ending in "jbm-queues.xml" in the config dir (and its subdirs).
So that we don't have to check all the class path locations for such files.

wdyt?


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

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



More information about the jboss-dev-forums mailing list