Bug 1006962 - [amqp1.0] translation of x-declare into properties doesn't convert the 'type' property
Summary: [amqp1.0] translation of x-declare into properties doesn't convert the 'type'...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
medium
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:08 UTC by Petr Matousek
Modified: 2015-01-21 12:56 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:56:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Description Petr Matousek 2013-09-11 15:08:42 UTC
Description of problem:

As a result of the missing conversion, it's not possible to declare exchanges in the 0-10 style, ie:
"myxml;{create:always,node:{type:topic,x-declare:{type:xml}}}"

The result of the command above is that the created exchange is always of type 'topic'.

The conversion shall be implemented in order to guarantee the backwards compatibility.

Note: Exchanges may be declared using following address string when using amqp1.0:
myxml;{create:always:node:{type:topic,properties:{exchange-type:xml}}}

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

How reproducible:
100%

Steps to Reproduce:
1. spout "myxml;{create:always,node:{type:topic,x-declare:{type:xml}}}"
2. qpid-config exchanges
3. created 'myxml' echange is of type 'topic' (shall be 'xml')

Actual results:
translation of x-declare into properties doesn't convert the 'type' property
unable to define exchanges by using the 0-10 compatible address string 

Expected results:
translation of x-declare into properties converts also the 'type' property
same address string may be used for exchanges declaration over amqp0-10 and amqp1.0

Additional info:

Comment 1 Gordon Sim 2013-09-11 16:07:22 UTC
Fixed upstream by https://svn.apache.org/r1521919

Comment 2 Petr Matousek 2013-11-25 10:53:36 UTC
This issue has been fixed. Verified on rhel6.5 (i386, x86_64).

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

-> VERIFIED


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