Github user alanconway commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/172#discussion_r126172968
--- Diff: src/router_core/forwarder.c ---
@@ -395,9 +415,22 @@ int qdr_forward_closest_CT(qdr_core_t *core,
// Forward to an in-process subscriber if there is one.
//
if (!exclude_inprocess) {
+ bool receive_complete = qd_message_receive_complete(msg);
qdr_subscription_t *sub = DEQ_HEAD(addr->subscriptions);
if (sub) {
- qdr_forward_on_message_CT(core, sub, in_delivery ?
in_delivery->link : 0, msg);
+
+ //
+ // Only if the message has been completely received, forward
it.
+ // Subscriptions, at the moment, dont have the ability to deal
with partial messages
+ //
+ if (receive_complete)
--- End diff --
For streaming we need to start forwarding before completion.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]