-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expose transferList on MessageEvent #4521
Copy link
Copy link
Open
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: serialize and transfer
Description
Activity
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: serialize and transfer
I sometimes find myself using a Man-in-the-middle pattern with
MessageChannel:Any message that gets sen via
portA1can eventually be received atportB2, but the functionfhas the opportunity to mangle, log or otherwise manipulate the message payload before it gets forwarded.If the original message is sent with a transferList, the function has no way of accessing that transferList and forwarding the message with the same transfer behavior.
I think it would be good if the transferList could be exposed on
MessageEvent.Talking to @domenic OOB, this could be useful for the discussion around transferable values in the context of transferable Streams.