6 Replies Latest reply on Jul 8, 2015 8:50 PM by Justin Bertram

    MDB Consuming messages from a remote queue

    Arnab Ghosh Novice

      Hi All,

       

      I am trying to configure an MDB to listen to a remote queue deployed on another instance of Wildfly 8.2.0

      The messaging sub system documentation: Messaging configuration - WildFly 8 - Project Documentation Editor suggests that a pooled connection factory can be used by an MDB to consume messages from the remote queue provided its configured correctly. I have added the below configurations:

       

      <netty-connector name="netty-remote-aoma-queue-server-connector" socket-binding="aoma-queue-server-socket"/>

       

      <pooled-connection-factory name="pooled-remote-connection-factory">

                              <transaction mode="xa"/>

                              <connectors>

                                  <connector-ref connector-name="netty-remote-aoma-queue-server-connector"/>

                              </connectors>

                              <entries>

                                  <entry name="java:/RemoteJmsXA"/>

                              </entries>

        </pooled-connection-factory>

       

      <outbound-socket-binding name="aoma-queue-server-socket">

                  <remote-destination host="host0309.server.systems.com" port="15455"/>

              </outbound-socket-binding>

       

      How should i configure the MDB to use this pooled connection factory ? Can you please point me to the correct activationconfig ?

       

      Regards

      Arnab