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

Tim Fox (JIRA) jira-events at jboss.com
Fri Sep 29 09:17:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-564?page=all ]

Tim Fox closed JBMESSAGING-564.
-------------------------------

    Resolution: Rejected
      Assignee: Tim Fox  (was: Ovidiu Feodorov)

This test is not valid.

It is illegal (see JMS1.1 spec 6.11) to unsubscribe if the subscription has active consumers.

We weren't checking this in the code before.

I have now added such a check, and a test.

This test should be removed and this bug closed.

> 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.0.1.CR6, 1.2.0.Alpha1
>
>
> 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