[
https://issues.apache.org/jira/browse/PROTON-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Conway reassigned PROTON-1511:
-----------------------------------
Assignee: Alan Conway
> BrokerAgent does not provide reconnect support
> ----------------------------------------------
>
> Key: PROTON-1511
> URL: https://issues.apache.org/jira/browse/PROTON-1511
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Affects Versions: 0.17.0
> Reporter: Brian Bouterse
> Assignee: Alan Conway
>
> The BrokerAgent is provided by this diff:
> https://reviews.apache.org/r/52280/diff/3#0 Here is how to reproduce:
> 1. Instantiate a BrokerAgent connecting to a qpidd broker
> 2. Do something with the connected BrokerAgent object to show that it's
> working
> 3. kill qpidd with `pkill -9 -f qpidd`
> 4. start qpidd up again
> 5. Try to do step 2 again
> 6. Receive a traceback indicating the BrokerAgent is disconnected
> My code handles reconnect support for the connection, but it's not prepared
> to also handle reconnect support for the BrokerAgent connection. I would like
> that connection to have a reconnect support option added so I can call it
> like:
> BrokerAgent(**existing_options, reconnect=True)
> Having reconnect default to True is also fine w/ me. I think users may still
> want the option to set it also.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]