Bug 1040628 - 'alternate-exchange' property on topic object is not reported by QMF
Summary: 'alternate-exchange' property on topic object is not reported by QMF
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Zdenek Kraus
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 18:01 UTC by Zdenek Kraus
Modified: 2015-01-21 12:52 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5440 0 None None None Never

Description Zdenek Kraus 2013-12-11 18:01:03 UTC
Description of problem:
when topic object is created with property 'alternate-exchange', the property is not reported by QMF, despite the fact that is actually working properly.

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

How reproducible:
100%

Steps to Reproduce:
1. create topic object with alternate exchange
./qmf2_qpidt.py create topic tt exchange=amq.direct alternate-exchange=amq.fanout
2.checkout QMF
./qmf2_list_objects --query-data topic/tt | ipython
3. make subsription through the topic
./drain --connection-options "{protocol:'amqp1.0'}" -f 'tt'
4. list subsription queues
$ qpid-config queues

Actual results:
[2]
{'_create_ts': 1386784355447942294,
 '_delete_ts': 0,
 '_object_id': {'_agent_epoch': 1493,
                '_object_name': 'org.apache.qpid.broker:topic:tt'},
 '_schema_id': {'_class_name': 'topic',
                '_hash': '6182b36f-9f09-4118-2881-fb69e5355628',
                '_package_name': 'org.apache.qpid.broker',
                '_type': '_data'},
 '_update_ts': 1386784362608692199,
 'durable': False,
 'exchangeRef': {'_object_name': 'org.apache.qpid.broker:exchange:amq.direct'},
 'name': 'tt',
 'properties': {}}


[4]
Queue Name                                                                    Attributes
====================================================================================================
a00af501-3669-48c6-be30-e02fa08de8aa_tt_2ebf866a-b320-4e9d-8f79-d0b894af5267  auto-del excl --alternate-exchange=amq.fanout 
aef0d122-c0b9-49c4-804b-f54ba68aa6a3:0.0                                      auto-del excl 

Expected results:
the 
"'properties': {'alternate-exchange':'amq.fanout'}"
have to be reported by QMF

Additional info:

Comment 2 Gordon Sim 2013-12-20 13:50:17 UTC
Fixed upstream: https://svn.apache.org/r1552669

Comment 3 Zdenek Kraus 2014-01-07 12:59:20 UTC
This was tested on RHEL 6.5 i686, x86_64 with following packages:

qpid-cpp-server-0.22-30.el6
qpid-cpp-server-xml-0.22-30.el6
qpid-proton-debuginfo-0.6-1.el6
qpid-cpp-debuginfo-0.22-30.el6
qpid-jca-0.22-1.el6
qpid-jca-xarecovery-0.22-1.el6
qpid-qmf-devel-0.22-25.el6
qpid-tools-0.22-7.el6
qpid-proton-c-0.6-1.el6
qpid-qmf-0.22-25.el6
python-qpid-qmf-0.22-25.el6
qpid-proton-c-devel-0.6-1.el6
qpid-java-example-0.22-5.el6
python-qpid-0.22-9.el6
qpid-cpp-client-0.22-30.el6
qpid-cpp-client-ssl-0.22-30.el6
qpid-cpp-server-devel-0.22-30.el6
qpid-java-client-0.22-5.el6
qpid-cpp-server-ssl-0.22-30.el6
qpid-java-common-0.22-5.el6
qpid-cpp-client-devel-0.22-30.el6
qpid-cpp-server-store-0.22-30.el6
qpid-cpp-client-devel-docs-0.22-30.el6

fix work as expected.


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