1 Reply Latest reply on Oct 27, 2014 9:58 AM by Justin Bertram

    JBOSS JMS Migration

    Deepan Ignatius Newbie

      Hello All,

       

      I am migrating an application(WAR file component) from JBOSS AS 4 to JBOSS AS 7. In this context, I am having certain JMS definitions under files "connection-factories-service.xml" deployed successfully in AS 4.

       

      Content of connection-factories-service.xml[pasted below]:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <server>
         <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
            name="jboss.messaging.connectionfactory:service=TConnectionFactory"
            xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
            <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>
      
            <attribute name="JNDIBindings">
               <bindings>
                  <binding>jms/ConnectionFactory</binding>      
                  <binding>java:jms/ConnectionFactory</binding>     
               </bindings>
            </attribute>
         </mbean>
      
         <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
            name="jboss.messaging.connectionfactory:service=ProduktimportConnectionFactory"
            xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
            <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>
      
            <attribute name="JNDIBindings">
               <bindings>
                  <binding>jms/ProduktimportConnectionFactory</binding>      
                  <binding>java:jms/ProduktimportConnectionFactory</binding>     
               </bindings>
            </attribute>
         </mbean>
         
          <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
            name="jboss.messaging.connectionfactory:service=EngagementConnectionFactory"
            xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
            <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>
      
            <attribute name="JNDIBindings">
               <bindings>
                  <binding>jms/EngagementConnectionFactory</binding>      
                  <binding>java:jms/EngagementConnectionFactory</binding>     
               </bindings>
            </attribute>
         </mbean>
         
            
          <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
            name="jboss.messaging.connectionfactory:service=OrderConnectionFactory"
            xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
            <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>
      
            <attribute name="JNDIBindings">
               <bindings>
                  <binding>jms/OrderConnectionFactory</binding>      
                  <binding>java:jms/OrderConnectionFactory</binding>     
               </bindings>
            </attribute>
         </mbean>
      
          <mbean code="org.jboss.jms.server.connectionfactory.ConnectionFactory"
            name="jboss.messaging.connectionfactory:service=MobilePortConnectionFactory"
            xmbean-dd="xmdesc/ConnectionFactory-xmbean.xml">
            <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>
      
            <attribute name="JNDIBindings">
               <bindings>
                  <binding>jms/MobilePortConnectionFactory</binding>
                  <binding>java:jms/MobilePortConnectionFactory</binding>
               </bindings>
            </attribute>
         </mbean>
      
      
      </server>
      
      

       

      I would like to get your help on how to define the same configurations in AS 7?

       

      I would appreciate if anyone can guide me with some helpful materials.

       

      Thank you.