[rabbitmq-discuss] Can I get this behavior through a custom plugin?
dan at danlarkin.org
Mon Oct 21 01:36:16 BST 2013
I have an interesting serialization requirement for my app: I need to enforce that only one message with the same AMQP header "client" is ever out for delivery in any given snapshot of time.
Right now I have messages flowing into rabbit to a "direct" exchange, all with "client" headers. And since I have multiple worker nodes pulling from the queue they're ending up in, it's possible for two messages with the same "client" header to be processed at the same time. And the goal here is to prevent that from happening.
I thought at first this might be possible with a custom exchange, but afaict exchanges are basically limited to controlling how messages get routed, not how they get delivered.
So my question is simply: is this behavior possible?
Thanks for your help,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the rabbitmq-discuss