[rabbitmq-discuss] database transaction

Matthias Radestock matthias at lshift.net
Sun Mar 21 12:10:01 GMT 2010


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.

Regards,

Matthias.




More information about the rabbitmq-discuss mailing list