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") } ...
<jboss> <enterprise-beans> <message-driven> <ejb-name>TestEJB</ejb-name> <destination>topic/otherTopic</destination> </message-driven> </enterprise-beans> </jboss>
Typo on my part, EJB name was not correct.