4 Replies Latest reply on Jan 15, 2014 2:32 AM by Thorben Janssen

    Configuration of external JMS queues

    Thorben Janssen Newbie



      I am currently trying to integrate JBoss AS 7 with an external ActiveMQ messaging broker as described in this example: https://community.jboss.org/wiki/IntegrationOfJBossAS7WithActiveMQ

      This approach works fine but why do I need to use the physical name of the queue in the @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue.queue_in") annotation? Using the JNDI name does not work here.

      But it works with the @Resource(mappedName = "java:/activemq/queue_out") annotation for my "response queue".

      Defining the physical name of an external queue within the source code is really annoying because we will need a new software release if our customer decides to rename his queue

      Is there any way to make it configurable?