[ 
https://issues.apache.org/jira/browse/DISPATCH-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16495442#comment-16495442
 ] 

Robbie Gemmell commented on DISPATCH-1020:
------------------------------------------

I believe Dispatch behaves this way due to prior discussions where it was noted 
the reverse behaviour was occurring (as it was sending closed=true all the 
time). It seems simpler to use closed=false all the time rather than have the 
codebase track the terminus settings and hope it gets it right everywhere.

> Detach expiring links with closed=true when peer connectivity lost
> ------------------------------------------------------------------
>
>                 Key: DISPATCH-1020
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1020
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>            Reporter: Keith Wall
>            Priority: Major
>
> Currently, Dispatch responds to the loss of an underlying connection to a 
> peer by detaching the links established over that connection in the following 
> way.
> {noformat}
> @detach(22) [handle=0, closed=false, error=@error(29) 
> [condition=:"qd:routed-link-lost", description="Connectivity to the peer 
> container was lost”]]
> {noformat}
> As is makes no sense for link defined to expire to attached again, it would 
> be an improvement to the dispatch's behaviour if those links were detached 
> with {{closed=true}}.  This would aid the timely clean-up of resources 
> elsewhere in the AMQP network.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to