1 Reply Latest reply on Jun 26, 2008 12:21 PM by Jamie Johnson

    Override annotations using JBoss.xml

    Jamie Johnson Newbie

      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:

      @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"),
      @ActivationConfigProperty(propertyName="destination", propertyValue="topic/securedTopic")

      my jboss.xml looks like:

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