1 Reply Latest reply on Feb 27, 2013 10:20 PM by jbertram

    MDB -- RemoteConnectionFactory vs Bridge

    tvraghavan

      I would like to confirm if the following configuration is the right way to approach.

       

      We have a jboss-as7 hosting a bunch of MDBs.

      We would like to deploy the queue to a centralized queue infrastructure that will be up 24/7.

       

      So the plan is to configure the queue on another jboss-as7 instance or jboss-soa-530 instance.

       

      Question:

      1) Can we configure the MDBs to do a remote lookup of the queue using the RemoteConnectionFactory

      or

      2) Should we configure a jms bridge between the 2 servers and MDB should always read off the local queue

       

       

      Thanks

        • 1. Re: MDB -- RemoteConnectionFactory vs Bridge
          jbertram

          You can't configure an MDB to use a connection factory.  However, you use activation configuration properties on the MDB to configure where it will connect which allows you to essentially accomplish the same goal.  Check the documentation for more info.  There are also MDB examples shipped with HornetQ that demonstrate how to do this.