Discussions

XML & Web services: Setting timeout parameter for JMS queues

  1. Setting timeout parameter for JMS queues (1 messages)

    i am using weblogic 7.01.our application sends/reads jms messages to/from tibco.
    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.
  2. Your QueueReceiver / TopicSubscriber should have a receive() method that takes a timeout parameter. Consult the Javadocs for more details.

    -Tim.