[ 
https://issues.apache.org/jira/browse/QPID-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim resolved QPID-3292.
------------------------------

    Resolution: Fixed

> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to