Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-98

Refactor the handling of Message Annotations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.3
    • 0.5
    • Router Node
    • 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.

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: