Hi Brian, Unfortunately the current AMQP 1.0 JMS client does not yet have any code for handling hung brokers. The code will block until a response it received from the server, or the connection is dropped.
The current AMQP 1.0 JMS client was originally developed as a prototype as part of the AMQP 1.0 proving process. We are looking to replace this code by a new JMS client built on top of the Proton framework by the end of this year. Obviously this new client will have more robust handling of such scenarios. Cheers Rob On 24 June 2013 06:00, Brian <[email protected]> wrote: > Hi, > > I am using qpid-amqp-1-0-client-jms-0.22 and I have faced the issue when I > tried connect to the hanged broker. > My AMQP sender connected to this broker, it seemed to be hanged forever. I > just wonder to know how to prevent this issue because there is no way > (public API) to set timeout for AMQP senders. > > does anyone have experience with this issue? > > Thanks. > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/How-AMQP-1-0-senders-deal-with-the-hanged-broker-tp7594459.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
