Robbie Gemmell created PROTON-1110: -------------------------------------- Summary: [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 Reporter: Robbie Gemmell Assignee: Robbie Gemmell Fix For: 0.12.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)