qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Moravec <pmora...@redhat.com>
Subject Re: Writing wrong filter in a QMF method causes the filter is ignored
Date Tue, 31 Jul 2012 14:03:08 GMT
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" <kgiusti@redhat.com>
> To: users@qpid.apache.org
> Sent: Tuesday, July 31, 2012 3:44:43 PM
> Subject: Re: Writing wrong filter in a QMF method causes the filter is ignored
> 
> 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). 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 produce an error in qpidd log:
> > 
> > 2012-07-31 11:50:14 error Ignoring unrecognized message filter:
> > '{qpid.subject:key2}'
> > 
> > but the messages are moved from SrcQueue to DstQueue. So having an
> > invalid filter in a QMF method raises an error log but otherwise
> > the
> > filter is ignored and method applied. And the method returns zero
> > as
> > usual.
> > 
> > Do you treat that as correct behavior? I would expect rather not
> > executing such a method and some error response code to be
> > returned.
> > 
> > (Philosophically: rather than perform a method with wrong
> > arguments,
> > it is safer to ignore its execution)
> > 
> > 
> > Kind regards,
> > Pavel Moravec
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> > For additional commands, e-mail: users-help@qpid.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 
> 

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


Mime
View raw message