<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
			https://www.springframework.org/schema/beans/spring-beans.xsd
			http://www.springframework.org/schema/integration
			https://www.springframework.org/schema/integration/spring-integration.xsd">

	<!-- pollable to subscribable -->
	<channel id="pollableChannel">
		<queue />
	</channel>

	<bridge input-channel="pollableChannel" output-channel="output1">
		<poller max-messages-per-poll="2" fixed-delay="3000" />
	</bridge>

	<channel id="output1">
		<queue />
	</channel>

	<!-- subscribable to pollable -->
	<channel id="subscribableChannel" />

	<bridge input-channel="subscribableChannel" output-channel="output2" />

	<channel id="output2">
		<queue />
	</channel>

	<!-- stopper (uses reply channel header) -->
	<channel id="stopperChannel" />
	<bridge input-channel="stopperChannel" />

	<bridge id="bridgeWithSendTimeout" input-channel="bridgeWithSendTimeoutChannel" send-timeout="1234"/>

</beans:beans>
