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:
anonymous wrote : 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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906541#3906541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906541 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
