[INT-2863] XML configuration does not allow to configure a ReleaseStrategy on a <resequencer> Created: 18/Dec/12 Updated: 25/Jan/13 Resolved: 15/Jan/13
|Affects Version/s:||2.2. GA|
|Fix Version/s:||3.0 M1, 2.2.1|
|Reporter:||Stefan Ferstl||Assignee:||Gary Russell|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
According to the documentation (link), it should be possible to configure a resequencer with a ReleaseStrategy. This was also possible in older versions of spring-integration. However, when I try to configure my own release strategy, e.g.
I get a SAXParseException saying that the attribute release-strategy is not allowed.
There are two problems here. First, the spring-integration-2.2.xsd does really not allow the definition of a release-strategy attribute. Second, the parsing of the release strategy is implemented in AggregatorParser instead of AbstractCorrelatingMessageHandlerParser. On the other hand, the AbstractCorrelatingMessageHandler, which is the base class for aggregators and resequencers, holds and invokes the release strategy.
|Comment by Stefan Ferstl [ 18/Dec/12 ]|
Opened pull request: https://github.com/SpringSource/spring-integration/pull/696