[rabbitmq-discuss] Question about Scheduled Message Delivery
manish.ranade at gmail.com
Wed Jun 18 01:16:20 BST 2014
Dan and Michael,
Thanks for the reply. Do you know if there is any open source Message Queue
that supports this functionality?
If not, I'll have to go with the solution Dan outlined.
On Tue, Jun 17, 2014 at 4:41 PM, Daniel W. Burke <dburke at addictmud.org>
> We got around this by implementing a temporary queue that set its
> x-dead-letter-routing-key to the queue we want it delivered to, and then
> use a combination of x-expires and message-ttl to have the message
> delivered to the "real" queue at the desired time, and then the queue
> deletes itself effectively cleaning things up all nice and neat.
> The downside is that you are really using one queue per message that is
> delayed, it doesn't seem to be a problem for us, but YMMV.
> We used perl, but here is where we got the idea...
> On Tue, Jun 17, 2014 at 6:40 PM, Michael Klishin <mklishin at gopivotal.com>
>> On 17 June 2014 at 23:58:00, Manish Ranade (manish.ranade at gmail.com)
>> > > We have an application that allows users to submit a request
>> > that needs to be processed on a specific time and date in the future.
>> > If there was no constraint of time and date, we would have put the
>> > request in a queue and have the consumer pick the request one by
>> > one and process them. However, considering my scenario—
>> > Is it possible to publish a message to be consumed at later stage?
>> RabbitMQ does not perform this kind of scheduling. It can be extended to
>> this (by implementing a custom exchange in Erlang) but it remains to be
>> how good that approach will actually work.
>> Software Engineer, Pivotal/RabbitMQ
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss