[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1460) Scheduled Messages not being cleared properly on a removeAllMessages

Howard Gao (JIRA) jira-events at lists.jboss.org
Wed Nov 26 21:57:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBMESSAGING-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12440036#action_12440036 ] 

Howard Gao commented on JBMESSAGING-1460:
-----------------------------------------

Currently we don't hold the scheduled refs after passing the refs to the timeout service. To correctly clean those ref up, we need to hold the references (together with the timeout objects) for that purpose.

So I'm going to put the refs in the HashSet scheduledDeliveries.


> Scheduled Messages not being cleared properly on a removeAllMessages
> --------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1460
>                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1460
>             Project: JBoss Messaging
>          Issue Type: Bug
>    Affects Versions: 1.4.0.SP3
>            Reporter: Mike Pettypiece
>            Assignee: Howard Gao
>         Attachments: JBMessaging1460.java
>
>
> Messages scheduled for delivery in the future are not correctly removed when the JMX operation removeAllMessages() is called.  
> As soon as the Application Server is restarted (or the queue is restarted) the messages are reloaded from the database and requeued.  

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

        



More information about the jboss-jira mailing list