Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.22, 0.23
-
None
-
None
-
environment independent
Description
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)