Writting a timeout for jms
Posted on 2004-09-30
Well I have another pretty easy question that I am kind of not sure about. I am trying to figure out how to write a timeout for a jms message. I basically send a message to the server and the server sends a message back, however if the message is not sent back the client side just sits and waits. I would like to place a timeout so after 30 seconds or so if a message is not recieved then it will stop waiting. I have never written a timeout and cant really find much good documentation on it. Can anyone kind of steer me in the right direction here?
Thanks again for all your help!