[jboss-user] [Beginner's Corner] - MDB and Dynamic Selector Using System Properties
Osian Hughes
do-not-reply at jboss.com
Tue Jul 6 06:10:50 EDT 2010
Osian Hughes [http://community.jboss.org/people/ohughes] created the discussion
"MDB and Dynamic Selector Using System Properties"
To view the discussion, visit: http://community.jboss.org/message/551194#551194
--------------------------------------------------------------
Hi,
I am about to write my first MDB, but I have a requirement for a dynamic selector being built to restrict the messages that is coming to a particular instance of JBossAS within a cluster. I have seen that it is possible in the configuration files to pass a property, such as ${hostname} (or something similar) into the selector through the use of -D when launching jboss.
What I would like to know, is if this is possible through Annotations, as I want to avoid the use of configuration files if possible, but if not, then hey ho ;-)
Thanks,
Osh
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/551194#551194]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100706/04667517/attachment.html
More information about the jboss-user
mailing list