Zdenek Kraus created QPID-4936:
----------------------------------
Summary: QMF reporting differs when creating federation with
--credit 0 and leaving the default
Key: QPID-4936
URL: https://issues.apache.org/jira/browse/QPID-4936
Project: Qpid
Issue Type: Bug
Components: Qpid Managment Framework
Affects Versions: 0.22, 0.23
Environment: environment independent
Reporter: Zdenek Kraus
Assignee: Ted Ross
When you create a route without specifying the credit value (credit should be
not applied (=unlimited)) the QMF reports the credit on the bridge object as
2^32 thus "unlimited".
But the other case, when you specify the --credit=0, result should be the same
(=unlimited), the QMF in this case reports a zero credit.
How reproducible:
100%
Steps to Reproduce:
1. create a federation route without specifying a credit value
2. create another federation route with the credit specified --credit 0
3. check with the qpid-tool the credit value set
Actual results:
# DEFAULT #
Object of type:
org.apache.qpid.broker:bridge:_data(b71da3c2-cbac-950f-1954-2aeced85659e)
Attribute 165
==============================================
linkRef 178
name qpid.tcp:192.168.6.3:5672!dq!ex!
channelId 2
durable False
src dq
dest ex
key
srcIsQueue True
srcIsLocal False
tag
excludes
dynamic False
sync 1
credit 4294967295
# CREDIT #
Object of type:
org.apache.qpid.broker:bridge:_data(b71da3c2-cbac-950f-1954-2aeced85659e)
Attribute 188
==============================================
linkRef 201
name qpid.tcp:192.168.6.3:5672!dq!ex!
channelId 3
durable False
src dq
dest ex
key
srcIsQueue True
srcIsLocal False
tag
excludes
dynamic False
sync 1
credit 0
Expected results:
the QMF reports the same value for both ways, preferably zero (same as
--ack/sync option)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]