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]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user