I am attempting to override the annotations in a message driven bean using a 
JBoss.xml file.  
My environment is Windows running JBoss 4.2.2GA

The relevant section of my MDB is as follows:

  | @MessageDriven(activationConfig={
  | @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Topic"),
  | @ActivationConfigProperty(propertyName="destination", 
propertyValue="topic/securedTopic")
  | }
  | ...
  | 

my jboss.xml looks like:

  | <jboss>
  | <enterprise-beans>
  | <message-driven>
  | <ejb-name>TestEJB</ejb-name>
  | <destination>topic/otherTopic</destination>
  | </message-driven>
  | </enterprise-beans>
  | </jboss>
  | 

but when this is deployed it always connections to securedTopic not otherTopic. 
 Any ideas as to what could be causing this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160922
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to