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

Robbie Gemmell commented on PROTON-1370:
----------------------------------------

proton-j looks to be inconsistent on this. If you locally detach a link its 
local state remains unchanged (so, ACTIVE), but when a detach frame arrives for 
a remotely trigged detach the remote state is changed to CLOSED. A DETACHED 
state might be nice, but would be a breaking change for many peoples usage (its 
also an Enum, so further breakage likely). I dont think there is a way to 
re-attach a given link object, only starting fresh one a new one.

> Don't leave detached links in active state
> ------------------------------------------
>
>                 Key: PROTON-1370
>                 URL: https://issues.apache.org/jira/browse/PROTON-1370
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c, proton-j
>            Reporter: Justin Ross
>             Fix For: 0.17.0
>
>
> The alternative ATM is closed, which on balance seems like a better choice.  
> Links are likely to be recreated from scratch in practical resume scenarios.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to