Re: Synchronous "Are you there?" using JMS

2007-08-03 Thread ttmdev
Have A create a temporary queue. A sends B the "are you there?" message, with the "JMSReplyTo" message property set to the temporary queue. After sending the message on the main queue, A turns around and issues a receive on the temporary queue, w/the appropriate timeout, to await the reply from B

Re: Synchronous "Are you there?" using JMS

2007-08-02 Thread uma_rk
Hi, I just need to be able to ping a functional component from another functional component in a distributed application synchronously. How can this be accomplished using JMS? It appears its not straightforward? Thanks, /U -- Original message -- From: "Mario Si

Re: Synchronous "Are you there?" using JMS

2007-08-02 Thread Mario Siegenthaler
Just a thought, but why don't you use a topic for this? I think a queue will cause problems because the message will be stored. So the "I'm here" thing would possibly refer to an older question and would no longer be relevant. Hm, just reread your question, and realized that you directly want to pr

Synchronous "Are you there?" using JMS

2007-08-02 Thread uma_rk
I have two entities on either side of a queue. Entity A needs to do a synchronous "are you there?" on the queue and receive a response synchronously from Entity B. I thought I'd do this: - Define a Queue "Are you there" and dispatchAsync = false - create a session with CLIENT_ACK set - sen