I hope this can be achieved via ActiveMQConnectionFactory.setCallTimeout(...) before creating JMS connection.
Youyu From: Martin Lichtin <lich...@yahoo.com.INVALID> Sent: Thursday, September 23, 2021 1:06 PM To: users@activemq.apache.org Subject: [EXTERNAL] Re: ActiveMQ classic - ActiveMQConnection - Connect Response Timeout Unfortunately I believe it's not one of these timeouts. What you mention below affects TcpTransport, but here we're talking about a setter for ActiveMQConnection On 2021/09/23 16:41:24, Matt Pavlovich <m...@gmail.com<https://protect-us.mimecast.com/s/EMf_CpYXYwIzRKKwtYfIsI?domain=gmail.com>> wrote: > Hi Martin-> > > Check out the docs here: > https://activemq.apache.org/tcp-transport-reference<https://protect-us.mimecast.com/s/-Bx_CqxMxRcOMll2SE5zcs?domain=activemq.apache.org> > > <https://activemq.apache.org/tcp-transport-reference<https://protect-us.mimecast.com/s/-Bx_CqxMxRcOMll2SE5zcs?domain=activemq.apache.org>>> > > Sounds like you want ‘client-side'> > > connectionTimeout> > soTimeout> > soWriteTimeout> > > Let us know how it goes!> > > -Matt> > > > On Sep 23, 2021, at 11:03 AM, Martin Lichtin > > <li...@yahoo.com.INVALID<mailto:li...@yahoo.com.INVALID>> wrote:> > > > > > I can't seem to find any documentation on the configurable "connect > > response timeout" of an ActiveMQConnection.> > > > > > Believe it's used only in method ensureConnectionInfoSent() but still would > > like to understand it and also is the default value 0 reasonable or would > > it not make sense to configure a relatively short timeout value.> > > > > > - Martin> > > > > > > > > The information in this e-mail communication together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this e-mail communication, please notify us immediately. Any views expressed in this e-mail communication are those of the individual sender, unless otherwise specifically stated. Charles River Development does not represent, warrant or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus or interference. Information Classification *General