1 Reply Latest reply on Sep 3, 2004 2:07 AM by genman

    Is it possible to change java:/ConnectionFactory?

    pta

      I am new to JBoss and am trying to migrate some JMS pub/sub applications to use JBossMQ. When I tried to change the attribute name value from "java:/ConnectionFactory" to another value in the jvm-il-service.xml file, I received errors while trying to restart the server.

      Thank you in advance!

        • 1. Re: Is it possible to change java:/ConnectionFactory?
          genman

          You can create JNDI aliases.

           <mbean code="org.jboss.naming.NamingAlias"
           name="jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory">
           <attribute name="FromName">UIL2ConnectionFactory</attribute>
           <attribute name="ToName">ConnectionFactory</attribute>
           </mbean>