0 Replies Latest reply on Sep 14, 2010 5:38 PM by Jaswinder Singh

    What is the difference between queueManager and baseQueueManagerName?

    Jaswinder Singh Newbie

      Thanks in advance for looking at the question.


      For all the examples of wmq.jmsra-ds.xml, I see following for the configuration of connection factory and mbean definitions:



          Configuration for the ConnectionFactory. This defines the
          channel, hostname, port, queueManager, and transportType
          properties for a client (TCP/IP) connection to WMQ
          <config-property name="channel" type="java.lang.String">
          <config-property name="hostName" type="java.lang.String">
          <config-property name="port" type="java.lang.String">
          <config-property name="queueManager" type="java.lang.String">

          <config-property name="transportType"
           <!-- define security domain -->



      And then the mbean:



      <mbean code="org.jboss.resource.deployment.AdminObject"
          <!-- Bind this AdminObject with the JNDI name IVTQueue
          <attribute name="JNDIName">
          <!-- this MBean depends on the WebSphere MQ resource
          adapter -->
          <depends optional-attribute-name="RARName">
           <!-- this admin object is a javax.jms.Queue -->
          <attribute name="Type">javax.jms.Queue</attribute>
          Configuration for Queue
          queue manager QUEUE_MANAGER_NAME. All messages sent
          to this queue will have their expiry time overridden so that
          messages never expire.
          <attribute name="Properties">
          baseQueueManagerName= QUEUE_MANAGER_NAME



      Although its just few extra types on my keyborad, why does one need to specify the queue manager twice: Once as

      queueManager, another time as baseQueueManagerName?