[rabbitmq-discuss] database transaction

Tomek Rożen tomek.rozen+rabbitmq at gmail.com
Sun Mar 21 23:17:05 GMT 2010


On Sun, Mar 21, 2010 at 1:10 PM, Matthias Radestock <matthias at lshift.net> wrote:
> Tomek,
>
> Tomek Rozen wrote:
>>
>> If there was some kind of ID on each message then the ID could be
>> saved in the DB on the same transaction as the message's object. Then
>> duplicates could be filtered on a per-message basis, as opposed to per
>> object. However, I'm not aware of any kind of a message ID in rabbit
>> that could be used. Can you think of anything?
>
> You could get the publisher to generate the id and stick it in the
> message-id basic property.

That's true, though it might be difficult if you have multiple
producers. It would be helpful if a queue would assign consecutive Ids
on insert.
Anyway, thanks for your help.

Tomek




More information about the rabbitmq-discuss mailing list