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-6380) [AMQP 1.0 JMS Client ] detach with closed=true is issued when making durable subscriber inactive
Date Tue, 10 Feb 2015 23:52:12 GMT

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

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

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

QPID-6380 : close()ing a durable subscription should detach rather than close a link

> [AMQP 1.0 JMS Client ] detach with closed=true is issued when making durable subscriber
inactive
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6380
>                 URL: https://issues.apache.org/jira/browse/QPID-6380
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS AMQP 1.0 Client
>    Affects Versions: 0.31
>         Environment: trunk / 0.31 Java broker
>            Reporter: Robbie Gemmell
>            Assignee: Rob Godfrey
>
> When a JMS application 'closes' its durable TopicSubscriber this leaves its subscription
in place but inactive. Currently the client conveys this by detaching the link with closed=true.
> {noformat}
> <TCP time="12:42:19.923318" seqno="1430029142" size="16">
>   <source host="127.0.0.1" port="60461"/>
>   <target host="127.0.0.1" port="5672"/>
>   
>   <frame size="16" doff="2" chan="1"> 
>     
>     <small-descriptor code="0x0:0x16"/> # detach
>     <list8 size="3" count="2"> # detach
>       <uint0/> # handle
>       <true/> # closed
>       # <null/> error
>     </list8>
>     
>   </frame>
>   
> </TCP>
> {noformat}
> The broker replies, but saying the link actually is not closed, and leaving the subscription
in place despite the requested close.
> {noformat}
> <TCP time="12:42:19.924734" seqno="1820218247" size="15">
>   <source host="127.0.0.1" port="5672"/>
>   <target host="127.0.0.1" port="60461"/>
>   
>   <frame size="15" doff="2" chan="1"> 
>     
>     <small-descriptor code="0x0:0x16"/> # detach
>     <list8 size="2" count="1"> # detach
>       <uint0/> # handle
>       # <null/> closed [false]
>       # <null/> error
>     </list8>
>     
>   </frame>
>   
> </TCP>
> {noformat}
> The client should use closed=false on the link detach, when 'closing' the JMS subscriber.
The separate unsubscribe can then actually close the link (as it already does, in addition
to other things) to indicate end of the subscription.



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