On 10/22/2010 01:31 PM, Jonathan Robie wrote:
On 10/22/2010 12:22 PM, Andrew Stitcher wrote:

Where do you specify qpid.max_size?
Which broker are you talking about?

I'm talking about the C++ implementation of the broker.

On 10/22/2010 12:37 PM, Ted Ross wrote:

Is this related to https://issues.apache.org/jira/browse/QPID-2896 ?

Yes:

$ drain "my-queue;{create:always,node:{type:queue,x-declare:{arguments:{'qpid.max_count':60}}}}"

Currently, there's a bug in the C++ client, which sends the string "60" rather than 60.

But I think there's also a bug in the broker, which accepts the string as the value of qpid.max_count, but does not use this value because it is of the wrong type.

I'm trying to fix both bugs. In the broker, should it reject the string value when it expects an integer, or should it do the conversion?
Just my opinion: The broker should use isdigit() or equivalent to determine if it can convert and if so, convert.

-Ted


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to