activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2940) Add a way to select and delete scheduled/delayed messages with a message selector
Date Thu, 23 Sep 2010 17:10:40 GMT
Add a way to select and delete scheduled/delayed messages with a message selector
---------------------------------------------------------------------------------

                 Key: AMQ-2940
                 URL: https://issues.apache.org/activemq/browse/AMQ-2940
             Project: ActiveMQ
          Issue Type: New Feature
          Components: Broker, JMX
    Affects Versions: 5.4.1
            Reporter: Thomas Dudziak


The atm only way to interact with scheduled/delayed messages, the JobSchedulerView mbean,
does not provide a way to get or delete messages that match a specific selector, e.g. something
that behaves similar to the Session.createBrowser(queue, messageSelector) method.
This means that for instance in order to delete all scheduled messages with a specific custom
property, one has to

1. get all messages (which might not even work as the mbean doesn't stream)
2. determine if the mbean matches the selector locally and if then hit the removeJob(id) mbean
operation

which is really inefficient.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message