[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-926) Negative message count

Tim Fox (JIRA) jira-events at lists.jboss.org
Tue Apr 24 06:35:30 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-926?page=comments#action_12360334 ] 
            
Tim Fox commented on JBMESSAGING-926:
-------------------------------------

I don't think it makes sense to allow removeAllMessages when there are stil messages being delivered.

I suggest that this method should throw an exception if thrown when deliveringCount > 0

> Negative message count
> ----------------------
>
>                 Key: JBMESSAGING-926
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-926
>             Project: JBoss Messaging
>          Issue Type: Bug
>    Affects Versions: 1.2.0.GA
>         Environment: any
>            Reporter: Kurt Stam
>         Assigned To: Sergey Koshcheyev
>             Fix For: 1.2.0.SP2
>
>         Attachments: screenshot-1.jpg
>
>
> When I removeAllMessages from the Queue while the thing is working on the queue, I can get a negative message count (see screenshot) I thought this was a funny bug :).

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