Bug 1006980 - [amqp1.0] consumer subscribed to xml exchange using xquery-filter do not get messages sent by amqp1.0 publisher
Summary: [amqp1.0] consumer subscribed to xml exchange using xquery-filter do not get ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks: 1010399
TreeView+ depends on / blocked
 
Reported: 2013-09-11 15:52 UTC by Petr Matousek
Modified: 2015-01-21 12:54 UTC (History)
3 users (show)

Fixed In Version: qpid-cpp-0.22-14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 12:54:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5131 0 None None None Never
Red Hat Bugzilla 1006976 0 medium CLOSED [amqp1.0] consumer subscribed to xml exchange using xquery filter acquires always the same message 2021-02-22 00:41:40 UTC

Internal Links: 1006976

Description Petr Matousek 2013-09-11 15:52:27 UTC
Description of problem:

When a amqp1.0 consumer is subscribed to an xml exchange using xquery-filter and a matching message is published to that exchange using amqp1.0 producer, the message is not delivered to the consumer.

Version-Release number of selected component (if applicable):
qpid-cpp-*-0.22-13.el6

How reproducible:
100%

Steps to Reproduce:
1. declare exchange of type xml
# qpid-config add exchange xml xml
2. subscribe to the xml exchange using xquery-filter
# ./drain -f --connection-options "{protocol: 'amqp1.0'}" "xml;{link:{filter:{value:\"colour='red'\",name:'name',descriptor:'apache.org:xquery-filter:string'}}}"
3. send a message matching the filter using 1.0 publisher
# ./spout --connection-options "{protocol: 'amqp1.0'}" --content '<colour>'red'</colour>' xml
4. message was not received by the consumer

Note: message sent by amqp0-10 publisher is delivered as expected
(ie: 3. ./spout --content '<colour>'red'</colour>' xml)

Please see additional info for more details.

Actual results:
When a amqp1.0 consumer is subscribed to an xml exchange using xquery-filter and a matching message is published to that exchange using amqp1.0 producer, the message is not delivered to the consumer.

Expected results:
All the messages matching the filter are delivered to the consumer

Additional info:

Comment 1 Gordon Sim 2013-09-11 16:43:15 UTC
Fixed upstream: https://svn.apache.org/r1521926

Comment 2 Petr Matousek 2013-10-25 15:15:20 UTC
This issue has been fixed. Verified on rhel6.4 (i386, x86_64).

packages used for testing:
qpid-cpp-*-0.22-22.el6


Note You need to log in before you can comment on or make changes to this bug.