You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2015/02/11 12:33:14 UTC
[jira] [Updated] (QPID-6381) [Java Broker] [AMQP 1.0] the 'closed'
field is ignored when detaching
[ https://issues.apache.org/jira/browse/QPID-6381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey updated QPID-6381:
------------------------------
Status: Reviewable (was: In Progress)
> [Java Broker] [AMQP 1.0] the 'closed' field is ignored when detaching
> ---------------------------------------------------------------------
>
> Key: QPID-6381
> URL: https://issues.apache.org/jira/browse/QPID-6381
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.31
> Reporter: Robbie Gemmell
> Assignee: Rob Godfrey
>
> The broker does not currently inspect the closed flag of the Detach when deciding whether to close detaching consumer links, and instead seems to base its action on the terminus durability.
> E.g in SendingLink_1_0.remoteDetached(LinkEndpoint, Detach), it inspects the source terminus-durability and closes [almost] everything that is not specifying UNSETTLED_STATE durability:
> {noformat}
> //TODO
> // if not durable or close
> if(!TerminusDurability.UNSETTLED_STATE.equals(_durability))
> {
> {noformat}
> This is presumably the reason that QPID-6380 does not result in removal of the DurableSubscription backing queue when 'closing' a JMS durable TopicSubscriber from the 'existing' AMQP 1.0 JMS client, as it uses UNSETTLED_STATE durability on those links.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org