[rabbitmq-discuss] Delivery / Redelivery counter plugin
Karl Nilsson
kjnilsson at gmail.com
Wed Nov 13 11:55:17 GMT 2013
Hi,
(I originally posted this to rabbitmq-discuss at googlegroups but it apperas
not to have replicated to the 'proper' list so apologies for any
duplication of this message)
Would it be possible to write a rabbitmq plugin to intercept delivery to a
queue to add/increment a delivery counter header value? I can't see an
appropriate behaviour to implement in the source but my understanding of
the rabbitmq code base isn't good enough to properly see what can and can't
be done.
After spending a fair bit of time thinking about a generic poison message
strategy it feels a broker based counter (rather than the existing
redelivered flag) would be the most appropriate for the kind of system we
are currently writing (integrations / dirty data) and if we could at least
get some kind of delivery counter working (100% would not be required) we
could handle rejection strategies better at the consumer.
I know there is a planned feature for this (basic / deliver / 01) but I
checked with Alvaro who has confirmed it isn't a priority at this time so
we could do with some kind of half-way house in the meantime.
I'd appreciate any suggestions / advice you may have on this topic.
Many thanks
Karl
--
*Karl Nilsson*
twitter: @kjnilsson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131113/fe6dabd9/attachment.htm>
More information about the rabbitmq-discuss
mailing list