Added Router strategy interface, and refactored Message-routing support in general to avoid MessageHandler.

This commit is contained in:
Mark Fisher
2008-08-28 18:46:36 +00:00
parent 62c7439960
commit ba9c086aea
19 changed files with 900 additions and 665 deletions

View File

@@ -7,7 +7,6 @@
http://www.springframework.org/schema/integration-xml http://www.springframework.org/schema/integration/spring-integration-xml-1.0.xsd
http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-1.0.xsd">
<bean id="messageChannel"
class="org.springframework.integration.channel.QueueChannel" />
@@ -23,11 +22,11 @@
<si-xml:xpath-router id="routerOne"
xpath-expression-ref="xpathExpression" />
<si:service-activator ref="routerOne" input-channel="inputOne" />
<si:router ref="routerOne" input-channel="inputOne" />
<si-xml:xpath-router id="routerTwo"
xpath-expression-ref="xpathExpressionMulti" multi-channel="true" />
<si:service-activator ref="routerTwo" input-channel="inputTwo" />
<si:router ref="routerTwo" input-channel="inputTwo" />
<bean id="xpathExpression"