qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: x-qpid-maximum-message-size - wiki disagrees with Java broker
Date Wed, 14 Mar 2012 15:38:45 GMT
On 03/14/2012 02:53 PM, Phil Harvey wrote:
> Hi,
>
> I'm looking at the description of the queue declaration argument
> x-qpid-maximum-message-size
> on
> https://cwiki.apache.org/qpid/qpid-extensions-to-amqp.html.  It doesn't
> match how the Java broker interprets this argument.
>
> The wiki page says that an alert is produced "if the queue gets above this
> size (in bytes)".  However, the Java broker's behaviour is to alert if a
> single message exceeds this size.
>
> I have two concerns:
>
> 1. I think this sort of "formal" documentation should be checked in as
> docbook content, rather than using the relatively uncontrolled wiki.
>
> 2. Maybe the C++ broker is interpreting this argument differently to the
> Java broker, which would be a Bad Thing.  Can anyone from the C++ community
> clarify?

The c++ broker interprets it as per the text. I.e. it is an aggregate 
size for the queue. If one message breaches that size then of course an 
alert would be sent immediately; if it takes 100 messages to reach that 
size the alert will only be raised after those 100.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message