Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21562

[GSS](7.4.z) When the Artemis Resource Adapter is configured for connection with external AMQ, the max-pool-size attribute is ignored

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • None
    • None
    • A-MQ RA, A-MQ7
    • None
    • False
    • False
    • +
    • 0
    • 0% 0%
    • Undefined

    Description

      When the internal artemis resource adapter is configured for connection to an external AMQ 7 instance. seeting max-pool-size on the resource adapter connection factory seems to have no effect. For example, if the max-pool-size is configured with a value of "10"

      <pooled-connection-factory name="activemq-ra-remote" entries="java:/RemoteJmsXA java:jboss/RemoteJmsXA java:jboss/DefaultJMSConnectionFactory" connectors="netty-remote-throughput-node1" transaction="xa" user="admin" password="admin" ha="true" max-pool-size="10"/>
      

      but an MDB with a maxSession attribute of "100" is deployed:

      @MessageDriven(name = "InboundQueueMDB", activationConfig = {
          @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
          @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "100"),
          @ActivationConfigProperty(propertyName = "destination", propertyValue = "INBOUND_QUEUE") })
      @ResourceAdapter(value="activemq-ra-remote")
      

      we can see 100 (actually 101) individual connections between the JBoss EAP instance and the external AMQ instance, with one session per connection.

      Attachments

        Issue Links

          Activity

            People

              mpetrov@redhat.com Michal Petrov
              rhn-support-dhawkins Duane Hawkins
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: