Bug 894416
| Summary: | qpid java client is not able to receive more than 500 map messages with qmf structured data | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Frantisek Reznicek <freznice> | ||||
| Component: | qpid-java | Assignee: | Frantisek Reznicek <freznice> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | Development | CC: | esammons, iboverma, jross, lzhaldyb, rrajasek | ||||
| Target Milestone: | 2.3 | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-01-17 09:22:14 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Frantisek Reznicek
2013-01-11 17:15:25 UTC
Created attachment 677011 [details]
Testing clients
Attached testing clients show that both c++ an python event receivers are able to receive unlimited number of messages/events, but java one hangs at processing 501st message/event. Rajith, please assess. There is no bug in the java client. The issue is in the test program. The test is using CLIENT_ACK but is not acking any messages. So once the credits are exausted the broker will not be sending any more messages and the client appears hanged as it's just waiting for more messages. Why 500 ? That is bcos the default message credits is set to max_prefetch which defaults to 500. Please modify the test program to add a message ack and everything should be fine. Regards, Rajith Dear Rajith, you're indeed right. Not acking will hit max_prefetch limit. I workarounded both using: - acking - modifying max_prefetch and I can see no limit resp. modified limit. This defect has no content atm. -> CLOSED / NOTABUG |