[
https://issues.apache.org/jira/browse/QPID-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross closed QPID-3292.
-----------------------------
> Client doesn't completely honor reconnect=false Connection option
> -----------------------------------------------------------------
>
> Key: QPID-3292
> URL: https://issues.apache.org/jira/browse/QPID-3292
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Reporter: Andy Goldstein
> Assignee: Gordon Sim
> Priority: Critical
> Fix For: 0.16
>
>
> The C++ client currently does not honor the reconnect=false Connection option
> correctly. If the client loses the connection to the broker, the client will
> attempt to reconnect one time, even if reconnect is set to false.
> In qpid::client::amqp0_10::ConnectionImpl::connect, the method has
> !tryConnect() as the condition for the "for" loop, which means that
> tryConnect() will be invoked at least 1 time. Next, in the loop body, it
> will look at the value of the reconnect setting, and stop if it's set to
> false.
> The client should not try to reconnect at all if reconnect is set to false.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]