Bug 1049507 - [amqp1.0] calling qmf methods on amqp1.0 connection/session objects reports UnknownMethod error
Summary: [amqp1.0] calling qmf methods on amqp1.0 connection/session objects reports U...
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: 2014-01-07 16:23 UTC by Petr Matousek
Modified: 2015-01-21 12:55 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5502 0 None None None Never
Red Hat Bugzilla 1049514 0 low NEW unimplemented qmf methods 2021-11-14 22:29:22 UTC

Internal Links: 1049514

Description Petr Matousek 2014-01-07 16:23:07 UTC
Description of problem:

UnknownMethod error is returned when connection/session qmf methods are called on amqp1.0 objects. Calling these methods on amqp0-10 connection/session objects works as expected.

Calling the above methods using amqp1.0 do not solve the issue:
./qmf2_qpid_ctrl --connection-options "{protocol:amqp1.0}" -c connection -i qpid.10.34.33.110:5672-10.34.33.110:42672 close
{'_values': {'error_code': 2, 'error_text': 'UnknownMethod'}}

feel free to change the component to qpid-cpp if appropriate

Version-Release number of selected component (if applicable):
qpid-qmf-0.22-25.el6
python-qpid-qmf-0.22-25.el6
qpid-cpp-*-0.22-30.el6

How reproducible:
100%

Steps to Reproduce:
1. ./drain -f --connection-options "{protocol:amqp1.0}"
1. qpid-tool
2. call <connection-id> close
3. qpid: UnknownMethod (2) - {}

Actual results:
UnknownMethod error returned on amqp1.0 connection/session qmf methods calls

Expected results:
qmf method successfully executed

Additional info:

Comment 1 Petr Matousek 2014-01-07 16:33:35 UTC
"Steps to Reproduce" correction:
- 1. ./drain -f --connection-options "{protocol:amqp1.0}"
- 1. qpid-tool
- 2. call <connection-id> close
- 3. qpid: UnknownMethod (2) - {}

+ 1. ./drain -f --connection-options "{protocol:amqp1.0}" amq.direct &
+ 2. qpid-tool
+ 3. call <connection-id> close
+ 4. qpid: UnknownMethod (2) - {}

Comment 2 Gordon Sim 2014-01-22 16:03:20 UTC
Fixed upstream: https://svn.apache.org/r1560393

Comment 4 Petr Matousek 2014-04-25 10:33:14 UTC
Fixed:
Method calls on amqp1.0 objects works the same way as on 0-10 object: 
  - connection close() method works as expected
  - session dettach() method works as expected
  - session methods: resetLifespan(), solicitAck(), close() are not implemented (tracked via Bug 1049514)

Comment 5 Petr Matousek 2014-04-28 15:31:52 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

packages under test:
qpid-cpp-*-0.22-37

-> VERIFIED


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