added comments

This commit is contained in:
Oleg Zhurakousky
2010-03-15 13:20:24 +00:00
parent 78f38149ad
commit 203cadc600

View File

@@ -37,6 +37,9 @@
<bean id="bankSelector" class="org.springframework.integration.loanbroker.BanksChannelSelector">
<constructor-arg ref="banks"/>
<property name="routingExpression">
<!-- This expression also demonstrates 'Collection Selection' concept of SpEL
(see http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#d0e11961)
-->
<value>
headers['CREDIT_SCORE'].score > 780 ? #banks.?[value.equals('premier')].keySet()
: #banks.?[value.equals('secondary')].keySet()