[
https://issues.apache.org/jira/browse/PROTON-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117259#comment-15117259
]
ASF subversion and git services commented on PROTON-1110:
---------------------------------------------------------
Commit 271b363638daa78a15964b1d8d1d46c187d4b7e7 in qpid-proton's branch
refs/heads/0.12.x from Robert Gemmell
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=271b363 ]
PROTON-1110: add toggle for suppressing the synthetic flow events generated on
sending
(cherry picked from commit 5ec901323eb188b840a519df3e7aeea15523c218)
> [proton-j] allow suppressing the synthentic flow event when sending transfers
> -----------------------------------------------------------------------------
>
> Key: PROTON-1110
> URL: https://issues.apache.org/jira/browse/PROTON-1110
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: 0.11.1, 0.12.0
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.13.0
>
>
> The engine emits synthetic Flow events when sending messages, in addition to
> those raised when receiving a Flow frame for the link. I believe the
> reasoning for this is so to treat it as a 'credit changed' indicator.
> However, as there are cases where the decision to send a message has little
> at all to do with the credit conditions, having these events its often
> unecessary and wasteful.
> A simple toggle will be added to signal the transport not to emit the flow
> events for use in those cases. The default behaviour will be unchanged.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)