Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 2.2. GA
-
Component/s: Core
-
Labels:
Description
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.
<resequencer id="myResequencer" input-channel="myInputChannel" release-strategy="myReleaseStrategy"/>
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.