1 Reply Latest reply on Feb 6, 2015 10:30 AM by Yong Hao Gao

    how many resource adapaters i can use in the  wildfly config

    srikanth vaddi Newbie

      Hi Friends/team members,

       

      i need help actually,

       

      i have confiured the resource-adapter active mq in my wildfly 8.2 how many  i can condfiure ata tim e, i want confiure the IBm mq also ,

       

      in my application is we will switch to use active mq and ibm mq, how to configure the iBm mq .

      below snipped config for active mq , the same way i want to configure IBM mq is it possible ,please help me to do

       

        <resource-adapters>

                      <resource-adapter id="activemq-rar.rar">

                          <module slot="main" id="org.apache.activemq.ra"/>

                          <transaction-support>XATransaction</transaction-support>

                          <config-property name="UseInboundSession">

                              false

                          </config-property>

                          <config-property name="ServerUrl">

                              tcp://localhost:61616?jms.rmIdFromConnectionId=true

                          </config-property>

                          <connection-definitions>

                              <connection-definition class-name="org.apache.activemq.ra.ActiveMQManagedConnectionFactory" jndi-name="srmConnFactory" enabled="true" pool-name="ConnectionFactory">

                                  <xa-pool>

                                      <min-pool-size>1</min-pool-size>

                                      <max-pool-size>60</max-pool-size>

                                      <prefill>false</prefill>

                                      <is-same-rm-override>false</is-same-rm-override>

                                  </xa-pool>

                              </connection-definition>

                          </connection-definitions>

                          <admin-objects>

                              <admin-object class-name="org.apache.activemq.command.ActiveMQQueue" jndi-name="chnlReqQueue" use-java-context="true" pool-name="chnlReqQueue">

                                  <config-property name="PhysicalName">

                                      chnlReqQueue

                                  </config-property>

                              </admin-object>

       

      --------------------

      --------

      -----