1 Reply Latest reply on Jun 13, 2003 9:50 AM by stephanenicoll

    remote jms client

    pipo

      hello,

      I am using Jboss 3.2.1 and I would like to know how to run a remote JMS client.
      I mean how to configure the server in particular where to add the topics, and from the client what I have to configure to connect my client to my server
      Do I have to change some configuration in the jndi.properties...
      (When I try to realise that with sun J2ee server I only have to specify the localhost and the port in the orb.properties file).

      Than you for the help.

        • 1. Re: remote jms client

          To connect remotely, just put a file named jndi.properties in front of your classpath with the following content :

          java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
          java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
          java.naming.provider.url=10.0.0.123

          where 10.0.0.123 is the IP of your Jboss


          there is sample of queues/topics in deploy/jms/jbossmq-destinations.xml Just create a new XML file with your own queues/topics