[
https://issues.apache.org/jira/browse/PROTON-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834775#comment-16834775
]
ASF GitHub Bot commented on PROTON-2040:
----------------------------------------
astitcher commented on issue #182: PROTON-2040: Alternative suggestion for
updating connection options:
URL: https://github.com/apache/qpid-proton/pull/182#issuecomment-490086385
@alanconway This is basically the same idea as your PR #181
Implementing this I noticed that there are a couple of issues with this
approach:
* There is no way to replace/change the initial connection url.
For full control of reconnect we definitely need to be able to control
this. maybe we need to treat it as a connection option. So that we can replace
it by updating the options.
* When the initial connection url gets used is a little obscure. Your
version and mine actually have different behaviours here which are caused by
the slightly different approach to updating the reconnect context. But it is a
little unintuitive to me that you get the initial url used again after failing
then updating the failover url list.
If we had a way to change the initial connection url then this might be a
moot point.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [cpp] Allow connection options to be updated for automatic reconnect.
> ---------------------------------------------------------------------
>
> Key: PROTON-2040
> URL: https://issues.apache.org/jira/browse/PROTON-2040
> Project: Qpid Proton
> Issue Type: New Feature
> Components: cpp-binding
> Affects Versions: proton-c-0.27.1
> Reporter: Alan Conway
> Assignee: Alan Conway
> Priority: Major
> Fix For: proton-c-0.28.0
>
>
> Allow modification of connection options prior to an automatic re-connect.
> Requested on mailing list:
>
> [https://lists.apache.org/thread.html/1fcd524de1e0d896a6f025470e0d774e051b8449dba0b9ddb3d0439e@%3Cusers.qpid.apache.org%3E]
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]