[rabbitmq-discuss] convention for "more/last message" pattern

Aleksey Yeschenko aleksey at yeschenko.com
Thu Apr 8 14:52:55 BST 2010


You can use basic.headers field to store any attributes you need.

2010/4/8 Daniel Risacher <magnus at alum.mit.edu>:
> It seems like a not-uncommon design pattern to send a data set (of
> some kind) as a series of sequential messages, where each item in the
> set is a separate message, and with a flag to indicate that there are
> more messages coming, or that the message represents the last entry.
> Is there a recommended way of implementing this pattern in AMQP?  i.e.
> is there a flag to set on the message, or is it expected that such
> information should be in the payload?
>
> I thought about kludging it into the reply-to field, but that seems too ugly.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>




More information about the rabbitmq-discuss mailing list