Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2624

Add Expression to <resequencer/> to Obtain the SequenceNumber

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2 M2
    • Fix Version/s: General Backlog
    • Component/s: None
    • Labels:
      None

      Description

      Previously (pre INT-2518) it was possible to specify a custom comparator; but this didn't work. The problem was that a comparator simply provides a way to sort messages in some sequence, but there is no guarantee that the custom comparator uses, or requires a continuous sequence (which is required by the resequencer because it looks for gaps in the sequence), and even if the comparator did, there was no way to supply its location to the resequencer. INT-2518 removed the custom comparator.

      The work around is to set the sequenceNumber header upstream.

      It would be convenient to have a sequence-number-expression, or similar, to avoid needing this extra configuration.

        Issue Links

          Activity

          Hide
          abilan Artem Bilan added a comment -

          Pushed to 'General Backlog' as issue to very hard to fix head-on: there is need to provide 'correlation' API refactoring to simplify further modification and improvement.

          Show
          abilan Artem Bilan added a comment - Pushed to 'General Backlog' as issue to very hard to fix head-on: there is need to provide 'correlation' API refactoring to simplify further modification and improvement.

            People

            • Assignee:
              abilan Artem Bilan
              Reporter:
              grussell Gary Russell
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: