Re: Help With Timeout for Initial Connection

2023-09-26 Thread Justin Bertram
I don't think callTimeout is going to help in this situation. This is really for how long the client should wait for a response from the broker when sending a core protocol packet which requires the connection to be established already. My guess is that the behavior you're seeing where the first f

Help With Timeout for Initial Connection

2023-09-26 Thread Westpfal, Thomas
I am using the ActiveMQConnectionFactory and it appears that the factory blocks when creating a connection if the configured host can't be reached. I would like the initial connection to timeout after a set period but I can't seem to get the timeout to work. I have configured 0 reconnect attempt