qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6381) [Java Broker] [AMQP 1.0] the 'closed' field is ignored when detaching
Date Wed, 11 Feb 2015 00:03:12 GMT

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

ASF subversion and git services commented on QPID-6381:
-------------------------------------------------------

Commit 1658845 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1658845 ]

QPID-6381 : if detach with close=true is received, then actually destroy the link

> [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


Mime
View raw message