This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 MDB Dynamic Destination
peterj Oct 28, 2008 11:46 AM (in response to cbax007-2)In your NETA-INF/ejb-jar.xml, place:
<ejb-jar ...> <enterprise-beans> <message-driven> ... <activation-config> <activation-config-property> <activation-config-property-name>destination</activation-config-property-name> <activation-config-property-value>queue/SomeQueueName</activation-config-property-value> </activation-config-property> </activation-config> </message-driven> <enterprise-beans> </ejb-jar>
All of the @ActivationConfigProperty annotation values can be set this way. -
2. Re: EJB3 MDB Dynamic Destination
wconroy Nov 3, 2008 1:19 PM (in response to cbax007-2)Is it possible to set activation-config properties in a file that is not embedded within the ejb-jar?
For example, is there a file you could put into the deploy directory of your server that could set this same property?