INT-1716 added ControlBus sample

This commit is contained in:
Oleg Zhurakousky
2011-01-13 15:40:42 -05:00
parent f1e6daffc5
commit 7ac1924834
5 changed files with 85 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:int="http://www.springframework.org/schema/integration"
xsi:schemaLocation="http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-2.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<int:channel id="controlChannel"/>
<int:channel id="adapterOutputChanel">
<int:queue/>
</int:channel>
<int:control-bus input-channel="controlChannel"/>
<int:inbound-channel-adapter id="inboundAdapter"
channel="adapterOutputChanel"
expression="'Hello'"
auto-startup="false">
<int:poller fixed-rate="1000"/>
</int:inbound-channel-adapter>
</beans>