posted 15 years ago
>In case the sender is trying to send some data to the receiver, and the netork fails.
Sender sends data to the jms server, not the receiver. The jms server sends it out to the receiver.
>In case the sender is trying to send some data to the receiver, and the netork fails.
Change the question to the sender tries to send data to the jms server
And the answer for that is the message sending from client to the jms server itself is a synchronous call. The QueueSender.send() message will throw a JMSException if the message isnt posted to the server for some reason.
Does that answer your question?
ram.