[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-564) Session.unsubscribe() leaves an active associated consumer (durable subscriber) in an undefined state

Ovidiu Feodorov (JIRA) jira-events at jboss.com
Fri Sep 29 15:38:41 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-564?page=comments#action_12344349 ] 
            
Ovidiu Feodorov commented on JBMESSAGING-564:
---------------------------------------------

Right. This is what I meant by "investigate".

The pre-bug report code didn't do any check and it was allowing unsubscribing a durable subscription with active consumers.


> Session.unsubscribe() leaves an active associated consumer (durable subscriber) in an undefined state
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-564
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-564
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: JMS Facade
>    Affects Versions: 1.2.0.Alpha1, 1.0.1.CR5
>            Reporter: Ovidiu Feodorov
>         Assigned To: Tim Fox
>            Priority: Minor
>             Fix For: 1.2.0.Alpha1, 1.0.1.CR6
>
>
> Invoking Session.unsubscribe() for a durable subscription for which there is an active associated consumer (durable subscriber) leaves it in an undefined state. The consumer is open, but there's no subscription it can possibly receive messages from.
> Investigate.
> In the 1.2.0.Alpha code, this leads to failure to close a connection that has contains such a consumer. See DurableSubscriberTest.testUnsubscribe().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list