[rabbitmq-discuss] Delivery / Redelivery counter plugin
kjnilsson at gmail.com
Wed Nov 13 11:55:17 GMT 2013
(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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss