INT-676
This commit is contained in:
@@ -122,9 +122,9 @@
|
||||
</callout>
|
||||
</calloutlist></para>
|
||||
<para>
|
||||
Using a "ref" attribute is generally recommended if custom splitter handler implementation can be reused in other <code><splitter></code> definitions. However
|
||||
if custom splitter handler implementation has to be scoped to a concrete definition of the <code><splitter></code>, starting with v1.0.3, Spring Integration supports
|
||||
inner bean definitions for custom splitter handlers within the <code><splitter></code> element:
|
||||
Using a "ref" attribute is generally recommended if the custom splitter handler implementation can be reused in other
|
||||
<code><splitter></code> definitions. However if the custom splitter handler implementation should be scoped to a
|
||||
single definition of the <code><splitter></code>, you can configure an inner bean definition:
|
||||
<programlisting language="xml"><![CDATA[<splitter id="testSplitter" input-channel="inChannel" method="split"
|
||||
output-channel="outChannel">
|
||||
<beans:bean class="org.foo.TestSplitter"/>
|
||||
@@ -132,8 +132,8 @@ inner bean definitions for custom splitter handlers within the <code><splitte
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Using both "ref" attribute and inner handler definition in the same <code><splitter></code> 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 <code><splitter></code>
|
||||
configuration is not allowed, as it creates an ambiguous condition and will result in an Exception being thrown.
|
||||
</para>
|
||||
</note>
|
||||
</section>
|
||||
@@ -154,4 +154,5 @@ List<LineItem> extractItems(Order order) {
|
||||
return order.getItems()
|
||||
}</programlisting></para>
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user