1 2 3 Previous Next 32 Replies Latest reply on Nov 11, 2005 2:13 AM by matrix1234 Go to original post
      • 30. Re: JMS problem
        matrix1234


        i was reading the link and become more confused becoz they(link) aretalking about deployment etc etc.
        but you saw, i did not deploy anything ..i just run my code from command line. i also want to do that in this new enviornment.

        so, what should i do first ?

        should i open deploy/jms/jms-ds.xml first and change what ?
        then what i should i do ?

        oops....very much confused.

        • 31. Re: JMS problem
          jaikiran

          I see that you have just a standalone application accessing queues for sending and receiving messages. The link that i posted was for a MDB listening on a remote queue. Your case is a bit different. I guess, you wont have to change much in your current code. In your QueueSend class, instead of:

          env.put(Context.PROVIDER_URL, "jnp://localhost:1099");


          do the following:

          env.put(Context.PROVIDER_URL, "jnp://215.25.56.78:1099");


          where 215.25.56.78 is the m/c on which the queue is present and also on which you have your QueueReceiver

          Try it out


          • 32. Re: JMS problem
            matrix1234

            Excellent..it works...everything is cool

            ..you are Jboss guru...

            Thank you

            1 2 3 Previous Next