To unsubscribe from this group and stop receiving emails from it, send an email torabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send an email torabbitmq-users@googlegroups.com.
For more options, visithttps://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send an email to rabbitmq-users@googlegroups.com.
It would take developing a pretty low level client.
MK
> On 5/1/2015, at 19:00, James Gardner <james....@noaa.gov> wrote:
>
>
> And in trying to make it possible, am I correct in saying that one would be quite fundamentally limited by the AMQP spec, or is there any room for a workaround, theoretically? For instance, is it possible to have a handleDelivery method with an input stream instead of a byte[] for the body argument, or is such an incremental transfer simply not supportable by the underlying protocol?
>
> Also, if it is not possible to deal with it at the consumer level, would it be possible to deal with it by filtering higher up? The queue would seem to be the appropriate place to do this; eg. by not routing messages to the queue if the body size exceeds a given limit - a queue argument like 'x-max-msg-body-bytes'...
>
> It just seems to me that being able to crash N clients at once, just by publishing a large message, is a liability.
>
> - James
>
>
>> On 12/31/2014 11:45 AM, Michael Klishin wrote:
>> It's not possible.
>>
>> MK
>>
>>> On 31/12/2014, at 19:22, James Gardner<james....@noaa.gov> wrote:
>>>
>>>
>>> Given that clients have restrictions on max memory usage, and that large message bodies can potentially challenge these, how is it possible to determine the size of a message (body) before 'retrieving' it (consuming it) ?
>>> 'prefetch-size' wouldn't seem to help since the broker won't pre-send the message at all if it's larger than that size, so it's not as if you can get a 'peek' at the headers first :). Not that that would apparently help either, since there is no standard attribute indicating message body size.
>>> I had Java foremost in mind, as a client.
>>> Thanks,
>>> James Gardner
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email torabbitmq-users+unsubscribe@googlegroups.com.
>>> To post to this group, send an email torabbitmq-users@googlegroups.com.
>>> For more options, visithttps://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
> To post to this group, send an email to rabbitmq-users@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send an email to rabbitmq-users@googlegroups.com.
Hmmm. We test for large message bodies prior to publish, put them in S3 (if too large), and substitute a URL header.One could probably do something similar with a custom 'ingest' exchange.ml
On Mon, Jan 5, 2015 at 5:00 PM, James Gardner <james....@noaa.gov> wrote:
And in trying to make it possible, am I correct in saying that one would be quite fundamentally limited by the AMQP spec, or is there any room for a workaround, theoretically? For instance, is it possible to have a handleDelivery method with an input stream instead of a byte[] for the body argument, or is such an incremental transfer simply not supportable by the underlying protocol?
Also, if it is not possible to deal with it at the consumer level, would it be possible to deal with it by filtering higher up? The queue would seem to be the appropriate place to do this; eg. by not routing messages to the queue if the body size exceeds a given limit - a queue argument like 'x-max-msg-body-bytes'...
It just seems to me that being able to crash N clients at once, just by publishing a large message, is a liability.
- James
On 12/31/2014 11:45 AM, Michael Klishin wrote:
It's not possible.
MK
On 31/12/2014, at 19:22, James Gardner<james....@noaa.gov> wrote:
Given that clients have restrictions on max memory usage, and that large message bodies can potentially challenge these, how is it possible to determine the size of a message (body) before 'retrieving' it (consuming it) ?
'prefetch-size' wouldn't seem to help since the broker won't pre-send the message at all if it's larger than that size, so it's not as if you can get a 'peek' at the headers first :). Not that that would apparently help either, since there is no standard attribute indicating message body size.
I had Java foremost in mind, as a client.
Thanks,
James Gardner
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email torabbitmq-use...@googlegroups.com.
To post to this group, send an email torabbit...@googlegroups.com.
For more options, visithttps://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.