[rabbitmq-discuss] (how) is it intended to stream data via AMQP?
james.anderson at setf.de
Tue Jan 19 10:51:24 GMT 2010
On 2010-01-19, at 09:17 , Matthias Radestock wrote:
> james anderson wrote:
>> if one has data of finite length, but for which the eventual
>> content size is unknown at the outset, (how) is it intended to
>> communicate it through amqp? while it would be possible to chunk
>> it in messages, it is not clear how one would indicate that the
>> data is complete.
> You could simply specially mark the message carrying the last
> chunk. Or have a separate "End of Stream" message.
if it were clear how to do this out-of-band, that would work.
as i read the 0-10 description, messages are not fixed size, but
rather the fragments are, and together with the first/last fragment
properties 'eventual' sizing is accomplished in a clear way.
for 0-8|9 it is not clear where this information would travel safely.
no publish argument permits the sender to specify a value - unless
one overloads the routing key. the equivalent "place", the body
header properties for basic class content uses 14 of the first 15. is
it acceptable to add properties to the content header?
More information about the rabbitmq-discuss