diff --git a/spring-integration-reference/src/splitter.xml b/spring-integration-reference/src/splitter.xml index 411cd5940e..439eff2b5b 100644 --- a/spring-integration-reference/src/splitter.xml +++ b/spring-integration-reference/src/splitter.xml @@ -122,9 +122,9 @@ - Using a "ref" attribute is generally recommended if custom splitter handler implementation can be reused in other <splitter> definitions. However -if custom splitter handler implementation has to be scoped to a concrete definition of the <splitter>, starting with v1.0.3, Spring Integration supports -inner bean definitions for custom splitter handlers within the <splitter> element: + Using a "ref" attribute is generally recommended if the custom splitter handler implementation can be reused in other + <splitter> definitions. However if the custom splitter handler implementation should be scoped to a + single definition of the <splitter>, you can configure an inner bean definition: @@ -132,8 +132,8 @@ inner bean definitions for custom splitter handlers within the <splitte - Using both "ref" attribute and inner handler definition in the same <splitter> configuration - is not allowed, as it creates an ambiguous condition and will result in Exception being thrown. + Using both a "ref" attribute and an inner handler definition in the same <splitter> + configuration is not allowed, as it creates an ambiguous condition and will result in an Exception being thrown. @@ -154,4 +154,5 @@ List<LineItem> extractItems(Order order) { return order.getItems() } +