spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

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

Open spring-operator opened this issue 13 years ago • 1 comments

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:

  • #7247 Provide a refactoring Correlation API refactoring to have more abilities to modify and improve components from that API ("depends on")
  • #6498 Resequencer With Custom Comparator Does Not Release Properly

1 votes, 1 watchers

spring-operator avatar Jun 18 '12 05:06 spring-operator

Artem Bilan commented

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.

spring-operator avatar Mar 11 '14 07:03 spring-operator