[jboss-dev-forums] [Design of EJB 3.0] - Re: default-activation-config?

adrian@jboss.org do-not-reply at jboss.com
Wed Nov 14 09:56:41 EST 2007


"wolfc" wrote : The purpose is to have a template of activation config properties in aop.xml for use by multiple MDBs. Burke had for example DLQ authentication in mind.

I'm not talking about aop.xml, I'm taking about the jboss.xml
and the annotation on the class, e.g. from the testsuite

  | @DefaultActivationSpecs({
  |       @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue")
  |       })
  | @MessageDriven(activationConfig =
  |         {
  |         @ActivationConfigProperty(propertyName="destination", propertyValue="queue/defaultedmdbtest")
  |         })
  | public class DefaultedQueueTestMDB implements MessageListener
  | 

It still doesn't make sense that a template from anywhere would override
the real instance properties from ejb-jar.xml?

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

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



More information about the jboss-dev-forums mailing list