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

	<integration:channel id="testChannel"/>

	<stdout-channel-adapter id="stdoutAdapterWithDefaultCharset" channel="testChannel" order="23"/>

	<stdout-channel-adapter id="stdoutAdapterWithProvidedCharset" charset="UTF-8" channel="testChannel"/>

	<stderr-channel-adapter id="stderrAdapter" channel="testChannel" order="34"/>

	<stdout-channel-adapter id="newlineAdapter" append-newline="true" channel="testChannel"/>

	<integration:chain id="stdoutChain" input-channel="stdoutInsideNestedChain">
		<integration:transformer expression="payload + 'bar'"/>
		<integration:chain>
			<stdout-channel-adapter/>
		</integration:chain>
	</integration:chain>

</beans:beans>
