activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: Message selectors and scheduled messages ?
Date Thu, 23 Sep 2010 17:15:12 GMT
The problem is that this only works if the message is due, so to
speak. For systems where you have more than a few scheduled messages,
you'll need something like a queue browser (which can actually see the
whole queue, e.g. AMQ-2172) that allows you to select and delete
messages by message selectors. E.g. you could delete all scheduled
messages with a specific custom property. This would also take care of
rescheduling, simply delete and schedule again.
I filed AMQ-2941 for this.

cheers,
Tom

On Thu, Sep 23, 2010 at 04:35, Dejan Bosanac <dejan@nighttale.net> wrote:
> Hi Tom,
>
> note that scheduled messages are kept by the broker in a specialized
> store, and will be sent to the queue/topic only when time comes. These
> send messages have "scheduledJobId" property set, which you can use to
> select them.
>
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
>
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
>
>
>
> On Thu, Sep 23, 2010 at 4:40 AM, Thomas Dudziak <tomdzk@gmail.com> wrote:
>> Hi,
>>
>> is there a way to select delayed/scheduled messages with a selector,
>> e.g. for custom properties ?
>>
>> cheers,
>> Tom
>>
>

Mime
View raw message