2 Replies Latest reply on Jul 15, 2015 3:49 PM by unnijboss

    Multiple MQ provider JBOSS EAP 6.4

    unnijboss

      Is there anyway I can use HornetMQ and TIBCO EMS as the providers?

      It seems it supports only one resource adapter at a time.

      <mdb>

                      <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra}"/>

                      <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>

      </mdb>

       

      So what would be my options? I have mdbs listening to queues set up locally(hornetQ) and remotely(EMS).

      Thinking of a JMS bridge with remote source and local target.

        • 1. Re: Multiple MQ provider JBOSS EAP 6.4
          jaikiran

          Unni N wrote:

           

           

          It seems it supports only one resource adapter at a time.

          <mdb>

                          <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra}"/>

                          <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>

          </mdb>

           

          That's the "default" resource adapter to use for the MDBs. Each MDB can then further go ahead and override the resource adapter to use by using the @org.jboss.ejb3.annotation.ResourceAdapter on the MDB class or you could even use the jboss-ejb3.xml to override the resource adapter for whichever MDB you want to.

          • 2. Re: Multiple MQ provider JBOSS EAP 6.4
            unnijboss

            Thanks a lot..

            It worked...