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/10 21:02:12 UTC

[jira] [Assigned] (QPID-6380) [AMQP 1.0 JMS Client ] detach with closed=true is issued when making durable subscriber inactive

     [ https://issues.apache.org/jira/browse/QPID-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey reassigned QPID-6380:
---------------------------------

    Assignee: Rob Godfrey

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