0 Replies Latest reply on Feb 5, 2004 12:49 PM by indianboy78in

    JBoss MQ Max client setting

    indianboy78in

      Hi

      I am using JBoss 3.2.2. I want to set the max/min client connections to the Queue. Where can I do this.

      In earlier versions of JBoss you can do this in
      In jms-service.xml. You can find this in JBOSS_HOME\server\default\deploy. Look for the following section
      mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=XaTxPool,name=jmsra">
      attribute name="MinSize">30
      attribute name="MaxSize">300

      attribute name="BlockingTimeoutMillis">5000
      attribute name="IdleTimeoutMinutes">15
      <!--criteria indicates if Subject (from security domain) or app supplied
      parameters (such as from getConnection(user, pw)) are used to distinguish
      connections in the pool. Choices are
      ByContainerAndApplication (use both),
      ByContainer (use Subject),
      ByApplication (use app supplied params only),
      ByNothing (all connections are equivalent, usually if adapter supports
      reauthentication)-->
      ByContainerAndApplication