Skip to content

Add Expression to <resequencer/> to Obtain the SequenceNumber [INT-2624] #6553

Open
@spring-operator

Description

@spring-operator

Gary Russell opened INT-2624 and commented

Previously (pre #6498) 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. #6498 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.


Affects: 2.2 M2

Reference URL: http://forum.springsource.org/showthread.php?127532-Bug-with-Resequencer&p=416281&posted=1#post416281

Issue Links:

1 votes, 1 watchers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions