activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2941) Add a non-JMX way to browse and delete scheduled/delayed messages
Date Mon, 04 Oct 2010 20:42:41 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQ-2941.
-------------------------------

    Resolution: Fixed

Fixed in svn rev: 1004411

Added ability to send a request to have scheduled Messages to a destination and a way to request
that scheduled Messages be removed from the Scheduler.

Added some notes on how it works on my Blog:
http://timbish.blogspot.com/2010/10/enhanced-jms-scheduler-in-activemq.html

Will update the ActiveMQ site docs as soon as I have time.

> Add a non-JMX way to browse and delete scheduled/delayed messages
> -----------------------------------------------------------------
>
>                 Key: AMQ-2941
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2941
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.4.1
>            Reporter: Thomas Dudziak
>            Assignee: Timothy Bish
>
> Currently, the only way to deal with existing scheduled/delayed messages is to use JMX
against the JobSchedulerView mbean. This has several drawbacks:
> * It requires another connection to the broker.
> * It does not participate in HA failover (e.g. master/slave).
> * Browsing requires to parse the TabularData and CompositeData objects returned by the
remote mbean.
> * The mbean doesn't stream data. This means that for instance in a queue with hundreds
of thousands of scheduled messages, hitting the getAllJobs mbean operation could kill the
broker because of memory problems.
> Instead it would be nice to have something like a queue browser (which that can browse
the whole queue, see AMQ-2172) for scheduled/delayed messages that can be created with for
instance from a session object. Ideally it would also provide support for message selectors
to make it easy to get and delete scheduled messages (see AMQ-2940).

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