Bug 802809

Summary: XML exchanges are not supported
Product: [Fedora] Fedora Reporter: Leonid Zhaldybin <lzhaldyb>
Component: qpid-cppAssignee: Nuno Santos <nsantos>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: aortega, esammons, jose.p.oliveira.oss, nsantos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-20 14:28:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Leonid Zhaldybin 2012-03-13 14:34:13 UTC
Description of problem:
qpidd broker on Fedora 17 does not support XML exchanges:
[root@localhost ~]# qpid-config add exchange xml my_xml
Failed: SessionException: ExecutionException(error_code=404, command_id=serial(65), class_code=7, command_code=1, field_index=0, description=u'not-found: Exchange type not implemented: xml (qpid/broker/SessionAdapter.cpp:117)', error_info={}, channel=1, id=serial(62))
[root@localhost ~]# echo $?
1
[root@localhost ~]# qpid-stat -e
Exchanges
  exchange            type     dur  bind  msgIn  msgOut  msgDrop  byteIn  byteOut  byteDrop
  ===========================================================================================
  amq.direct          direct   Y       1   116    116       0     47.2k   47.2k       0
  qmf.default.direct  direct           1    11     11       0     2.66k   2.66k       0
  amq.topic           topic    Y       0     0      0       0        0       0        0
                      direct           5     0      0       0        0       0        0
  amq.fanout          fanout   Y       0     0      0       0        0       0        0
  amq.match           headers  Y       0     0      0       0        0       0        0
  qpid.management     topic            3    50      0      50     19.8k      0     19.8k
  qmf.default.topic   topic            1    52      0      52     47.0k      0     47.0k 


Version-Release number of selected component (if applicable):
qpid-cpp-server-0.14-1.fc17.1.x86_64

How reproducible:
always

Steps to Reproduce:
1. Start up qpidd broker (service qpidd start).
2. Try to create an XML exchange on the broker.
3.
  
Actual results:
Exchange is not created, broker returns error stating that XML exchanges are not supported.

Expected results:
XML exchange created successfully.

Additional info:

Comment 1 Nuno Santos 2012-03-20 13:51:21 UTC
Do you have qpid-cpp-server-xml-0.14-1.fc17 installed as well? That's the subpackage that implements the xml exchange functionality.

Comment 2 Leonid Zhaldybin 2012-03-20 14:08:08 UTC
Sorry, it wasn't installed. Installation of qpid-cpp-server-xml package fixes the problem, so this should be closed with NOTABUG, I guess.

[root@localhost ~]# qpid-config add exchange xml myxml
[root@localhost ~]# echo $?
0
[root@localhost ~]# qpid-stat -e
Exchanges
  exchange            type     dur  bind  msgIn  msgOut  msgDrop  byteIn  byteOut  byteDrop
  ===========================================================================================
  qmf.default.topic   topic            1    53      0      53     48.0k      0     48.0k
  amq.direct          direct   Y       1   116    116       0     47.2k   47.2k       0
                      direct           5     0      0       0        0       0        0
  qmf.default.direct  direct           1    11     11       0     2.66k   2.66k       0
  amq.topic           topic    Y       0     0      0       0        0       0        0
  amq.fanout          fanout   Y       0     0      0       0        0       0        0
  amq.match           headers  Y       0     0      0       0        0       0        0
  qpid.management     topic            3    51      0      51     20.2k      0     20.2k
  myxml               xml              0     0      0       0        0       0        0
[root@localhost ~]# rpm -qa | grep qpid | sort
perl-qpid-0.14-1.fc17.1.x86_64
python-qpid-0.14-1.fc17.noarch
python-qpid-qmf-0.14-1.fc17.1.x86_64
qpid-cpp-client-0.14-1.fc17.1.x86_64
qpid-cpp-client-devel-0.14-1.fc17.1.x86_64
qpid-cpp-server-0.14-1.fc17.1.x86_64
qpid-cpp-server-xml-0.14-1.fc17.1.x86_64
qpid-qmf-0.14-1.fc17.1.x86_64
qpid-tools-0.14-1.fc17.1.noarch