Re: Python QMF implementation on top of qpid.messaging

2012-07-31 Thread Gordon Sim
On 07/27/2012 09:02 AM, Florian Weimer wrote: Is there a Python implementation of QMF which is based on qpid.messaging instead of cqpid? I'm not sure that its an official 'implementation of QMF', but there is a new library which the tools use that is essentially just some helper routines to s

Re: Writing wrong filter in a QMF method causes the filter is ignored

2012-07-31 Thread Pavel Moravec
Hi Ken, see https://issues.apache.org/jira/browse/QPID-4177, by default assigned to Ted Ross (havent found a way how to change it). Cheers, Pavel - Original Message - > From: "Ken Giusti" > To: users@qpid.apache.org > Sent: Tuesday, July 31, 2012 3:44:43 PM > Subject: Re: Writing wrong

Re: Writing wrong filter in a QMF method causes the filter is ignored

2012-07-31 Thread Ken Giusti
Pavel - I agree that behavior is unexpected - the command should fail without modifying the queue. Can you raise a JIRA and assign it to me? thanks -K - Original Message - > Hi, > I realized one particular (for me) unexpected behavior when using > filters in QMF methods (in C++ broker

Writing wrong filter in a QMF method causes the filter is ignored

2012-07-31 Thread Pavel Moravec
Hi, I realized one particular (for me) unexpected behavior when using filters in QMF methods (in C++ broker). Invoking e.g. method for moving messages from a queue to another with an invalid filter like: (in qpid-tool) call 120 queueMoveMessages SrcQueue DstQueue 0 {'qpid.subject':'key2'} will

RE: What's the difference between Receiver::get and Receiver::fetch

2012-07-31 Thread Zhemzhitsky Sergey
Gordon, thanks a lot! Not it's clear enough. Best Regards, Sergey -Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Tuesday, July 31, 2012 1:57 PM To: users@qpid.apache.org Subject: Re: What's the difference between Receiver::get and Receiver::fetch On 07/31/2012 10:

Re: What's the difference between Receiver::get and Receiver::fetch

2012-07-31 Thread Gordon Sim
On 07/31/2012 10:33 AM, Zhemzhitsky Sergey wrote: So there is no difference between get() and fetch() if the capacity is specified and it is greater than zero? There is, but it is quite subtle and likely not that relevant in most cases, at least where the timeout is also non-zero. If you ha

RE: What's the difference between Receiver::get and Receiver::fetch

2012-07-31 Thread Zhemzhitsky Sergey
So there is no difference between get() and fetch() if the capacity is specified and it is greater than zero? I'm able to get messages without any calls to fetch(), i.e. string addr("test-queue/test-subject;{create:always,node:{type:queue}}"); Connection connection("amqp:tcp:localhost:5672", "{

Re: What's the difference between Receiver::get and Receiver::fetch

2012-07-31 Thread Gordon Sim
On 07/31/2012 09:32 AM, Zhemzhitsky Sergey wrote: I have recently found that Receiver::get does not return anything if the receiver's capacity is not specified (i.e. zero) and if the receiver's capacity is greater than 0, then Receiver::get retrieves messages from the broker. At the same time R

RE: What's the difference between Receiver::get and Receiver::fetch

2012-07-31 Thread Zhemzhitsky Sergey
Hi Gordon, I have recently found that Receiver::get does not return anything if the receiver's capacity is not specified (i.e. zero) and if the receiver's capacity is greater than 0, then Receiver::get retrieves messages from the broker. At the same time Receiver::fetch always retrieves messages