Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.3
-
None
Description
In order to facility DISPATCH-89, we need to modify the way the router updates the router-specific fields in the Message Annotations section of a forwarded message.
Currently, all the salient fields - trace, ingress, to-override, etc - are updated all at once prior to forwarding. Let's break this up so fields may be updated individually as needed. Specifically, for DISPATCH-89, the custom forwarding code will need to update the to-override after the route lookup is done. In addition, will need to set unique values for to-override for each copy of the message that is created.
As an optimization, we should adopt a lazy approach to encoding these field values: only build the final outgoing Message Annotation section as the message is being sent out.