0 Replies Latest reply on Aug 25, 2011 6:08 AM by Murali Kumar

    How to configure remote queue name in jboss

    Murali Kumar Newbie

      Hi All,

       

      How to configure remote queue name in EJB3 MDB in jboss4.2.

       

      I am using tibco service. I need to remove the dependency on the queue name. Here is the code

       

      @MessageDriven(name = "MyMDBTibco", activationConfig = {

                @ActivationConfigProperty(propertyName = "destinationType",

                          propertyValue = "javax.jms.Queue"),

                 @ActivationConfigProperty(propertyName = "destination",

                          propertyValue = "dev.xyz.us.jms.detail.queue"),

                @ActivationConfigProperty(propertyName = "providerAdapterJNDI",

                          propertyValue = "java:/TIBCOJMSProvider"),

                @ActivationConfigProperty(propertyName = "useDLQ", propertyValue = "false") })

       

      In this code i need to connect with different queues in different environments like dev,qa,and production. I am different queues for different environments.

      How to remove queue name 'dev.xyz.us.jms.detail.queue'  from the destination propertt.

       

       

      Thanks and Regards,

      Murali