Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1965

Make MessageCombiner a bit more flexible

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Component/s: process
    • Labels:

      Description

      Currently MessageCombiner takes two messages and forces them to one, but in some cases you might want to have logic that makes the choice as to whether or not to combine or keep the messages separate. Perhaps the signature should be:

      public List<M> combine(final M messageA, final M messageB);
      

      or something similar that would allow return of one object or two. Not sure if it is worth deprecating the old code - perhaps we just make it a straight breaking change on 3.4.0.

        Attachments

          Activity

            People

            • Assignee:
              spmallette stephen mallette
              Reporter:
              spmallette stephen mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: