XML & Web services: Setting timeout parameter for JMS queues
i am using weblogic 7.01.our application sends/reads jms messages to/from tibco.
- Posted by: Dhaval Bhagat
- Posted on: July 01 2003 02:15 EDT
my problem is that when tibco server is down our application waits for the response for a long time.due to this out application hangs.
is there any way to set some timeout parameter for queues not responding.
Your QueueReceiver / TopicSubscriber should have a receive() method that takes a timeout parameter. Consult the Javadocs for more details.