Hi Tim,
Thank you for the answer and the issue. Best regards, Julien Avitech GmbH Engineering AxL Tel.: +49 (0)7541/282-177 Fax: +49 (0)7541/282-199 e-mail: [email protected] ________________________________________________ Avitech GmbH Principal Office: Bahnhofplatz 1 | 88045 Friedrichshafen | Germany Court Registration: Amtsgericht Ulm | HRB 728293 Geschäftsführer/Managing Director: Jon Joseba Goyarzu Caño http://avitech.aero This message may contain confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. -----Ursprüngliche Nachricht----- Von: Timothy Bish [mailto:[email protected]] Gesendet: Mittwoch, 16. März 2016 17:19 An: [email protected] Betreff: Re: JMS client - send timeout No, there is not currently a configurable send timeout implemented on the client. I've opened QPIDJMS-157 to track the feature request. You can configure the failover bits to give up after some number of attempts currently which would cause the sends to break. On 03/16/2016 06:02 AM, Julien Charon wrote: > Hi, > > > I'm currently doing some testing on a client that uses the JMS client > internally to send messages to an AMQP queue. > Now I wanted to test what happens when the broker is not reachable and I try > to send a message. I configured the connection with failover(...) so that the > connection will be re-established automatically when the broker becomes > available again, which works as expected. > But when the broker is down, the javax.jms.MessageProducer.send(Message) > method does not return until the connection is re-established. I also tried > to use javax.jms.MessageProducer.send(Message, int, int, long) and set a > message lifetime, but the behaviour is the same. > Is there a way to configure a timeout for sending messages? > Unfortunately, I didn't find anything in > https://qpid.apache.org/releases/qpid-jms-0.8.0/docs/index.html > > > Best regards, > Julien > > Avitech GmbH > Engineering AxL > Tel.: +49 (0)7541/282-177 > Fax: +49 (0)7541/282-199 > e-mail: [email protected]<mailto:[email protected]> > ________________________________________________ > Avitech GmbH > Principal Office: Bahnhofplatz 1 | 88045 Friedrichshafen | Germany > Court Registration: Amtsgericht Ulm | HRB 728293 > Geschäftsführer/Managing Director: Jon Joseba Goyarzu Caño > http://avitech.aero<http://avitech.aero/> > > This message may contain confidential information and is intended only for > the individual named. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately by e-mail if you have received this e-mail by mistake and delete > this e-mail from your system. > > -- Tim Bish twitter: @tabish121 blog: http://timbish.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
