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

Robbie Gemmell resolved QPID-6380.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.31

Change looks good.

> [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
>             Fix For: 0.31
>
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to