[jboss-user] [EJB 3.0] - Re: EJB3 MDB Dynamic Destination

PeterJ do-not-reply at jboss.com
Tue Oct 28 11:46:28 EDT 2008


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.

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

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



More information about the jboss-user mailing list