diff --git a/docs/src/reference/docbook/router.xml b/docs/src/reference/docbook/router.xml
index 212d0b6e0d..a1df5f77cd 100644
--- a/docs/src/reference/docbook/router.xml
+++ b/docs/src/reference/docbook/router.xml
@@ -150,7 +150,7 @@
- The <router> element
+ Namespace support for Router - <router> element
The "router" element provides a simple way to connect a router to an input channel, and also accepts the
optional default output channel. The "ref" may provide the bean name of a custom Router implementation
@@ -180,6 +180,34 @@
is not allowed, as it creates an ambiguous condition and will result in an Exception being thrown.
+
+ Routers and Spring Expression Language (SpEL)
+
+
+ Some times the routing logic may be simple and writing a separate class for it and configuring it as a bean may seem
+ like an overkill. Since Spring Integration 2.0 we offer an alternative where you can now use SpEL
+ (http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html)
+ to implement simple computations that otherwise were implemented in a custom POJO router.
+
+ ]]>
+ In the above configuration the result channel will be computed by the SpEL expression which simply concatenates the value
+ of the payload with the literal 'Channel'
+
+
+
+ Another value of SpEL when it comes to configuring routers is that expression can actually return a Collection,
+ thus making every <router> a Recipient List Router. Whenever expression returns
+ multiple channel values Message will be forwarded to all such channels.
+
+ ]]>
+
+ In the above configuration lets assume that you have a message header with the name 'channels' and the value being the
+ List of channel names. Now, message will be sent to all channels in this list.
+
+ You ,ay also fine Collection Projection and Collection Selection
+ expressions usefull to select multiple channels.
+ See (http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#d0e12084)
+
diff --git a/docs/src/reference/docbook/system-management.xml b/docs/src/reference/docbook/system-management.xml
index 3383308a2f..bd03dad3f8 100644
--- a/docs/src/reference/docbook/system-management.xml
+++ b/docs/src/reference/docbook/system-management.xml
@@ -4,7 +4,6 @@
xmlns:xlink="http://www.w3.org/1999/xlink">
System Management
-
\ No newline at end of file