Details
Description
Originally added in AMQ-2061 the timeout option is used to cause a send of Message that's gone out async to fail if the connection doesn't come back in some amount of time.
The problem is that the option is currently applied to everything that goes through FailoverTransport oneway() and this can cause a Connection start where the broker is not up to fail regardless of the maxReconnectAttempts or startupMaxReconnectAttempts value configured for the transport.
We need to refine the timeout logic to only apply to Message instances and not to other commands like ConnectionInfo so that a Connection start honors the normal failover transport reconnect configuration logic.
Attachments
Issue Links
- is related to
-
AMQ-2061 Timeout on failover transport without interruption of retries
- Resolved
- relates to
-
AMQCPP-545 Failover transport timeout options should only operate on Message sends.
- Resolved