You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2017/03/29 15:27:41 UTC
[jira] [Commented] (QPID-7720) Java client hangs when publishing to
C++ broker queue with flow control activated
[ https://issues.apache.org/jira/browse/QPID-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947338#comment-15947338 ]
Keith Wall commented on QPID-7720:
----------------------------------
Thanks for the patch, we'll take a look. For context, can you include a protocol trace and state what version of the C++ Broker you are using?
> Java client hangs when publishing to C++ broker queue with flow control activated
> ---------------------------------------------------------------------------------
>
> Key: QPID-7720
> URL: https://issues.apache.org/jira/browse/QPID-7720
> Project: Qpid
> Issue Type: Bug
> Components: Java Common
> Affects Versions: qpid-java-6.1.1
> Reporter: Flavio Baronti
> Attachments: QPID-7720.patch
>
>
> This is probably the same as QPID-4073.
> When a C++ flow controlled queue is overfull, the broker stops sending acknowledgements to client commands. This causes the internal command queue of the client to become full.
> In this situation, the client sends a flush request, then waits for the internal queue to free some space. Unfortunately, the broker will answer to the flush request with an empty response, and will not send anything else when the queue becomes underfull again. Thus the client dies with a timeout.
> I suggest a patch which sends again the flush command every 500ms, up to the configured timeout. If the queue becomes underfull within the timeout, the broker will answer with a non-empty response, and the client will restart processing.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org