2 Replies Latest reply on Oct 27, 2009 4:35 AM by vijay.venkataraman

    Validate Connection factory setting from MQ to JBM and ident

      Hi
      I am moving our queue implementation form MQ series to JBM from JBOSS 4.2 to JBOSS 4.3 (We are also moving to JBOSS 4.3)

      Here is the connection factory definition in uil2-service.xml and i want to know the equivalent in JBM.

      <mbean code="org.jboss.naming.LinkRefPairService"
       name="jboss.jms:alias=BCSQueueConnectionFactory">
       <attribute name="JndiName">BCSQueueConnectionFactory</attribute>
       <attribute name="RemoteJndiName">ConnectionFactory</attribute>
       <attribute name="LocalJndiName">java:/ConnectionFactory</attribute>
       <depends>jboss:service=Naming</depends>
       </mbean>
      


      The equivalent i could get to

      
      <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory" name="jboss.messaging.connectionfactory:service=BCSQueueConnectionFactory"
      xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
      <!--attribute name="JndiName">BCSQueueConnectionFactory</attribute-->
      <!--attribute name="LocalJndiName">java:/ConnectionFactory</attribute-->
      <!--attribute name="RemoteJndiName">ConnectionFactory</attribute-->
      
       <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
       <depends optional-attribute-name="Connector">jboss.messaging:service=Connector,transport=bisocket</depends>
       <depends>jboss.messaging:service=PostOffice</depends>
       <!--depends>jboss:service=Naming</depends-->
       <attribute name="JNDIBindings">
       <bindings>
       <binding>BOCSQueueConnectionFactory</binding>
       <binding>java:/ConnectionFactory</binding>
       <binding>ConnectionFactory</binding>
       </bindings>
       </attribute>
       </mbean>
      


      If you can see, i am not able to figure the equivalents for these pieces in JBM
       <attribute name="LocalJndiName">java:/ConnectionFactory</attribute>
       <attribute name="RemoteJndiName">ConnectionFactory</attribute>
       <depends>jboss:service=Naming</depends>
      


      Appreciate if anyone can guide me with this.

      Thanks in Advance.

      Vijay