<?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-ip="http://www.springframework.org/schema/integration/ip"
	xmlns:int="http://www.springframework.org/schema/integration"
	xsi:schemaLocation="http://www.springframework.org/schema/integration/ip https://www.springframework.org/schema/integration/ip/spring-integration-ip.xsd
		http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">

	<int-ip:tcp-connection-factory
		id="scf"
		type="server"
		so-timeout="60000"
		deserializer=""
		port="0"
		local-address="localhost"/>

	<int-ip:tcp-inbound-channel-adapter
		connection-factory="scf"
		channel="inbound"/>

	<int:channel id="inbound">
		<int:queue/>
	</int:channel>

	<int-ip:tcp-connection-factory
		id="ccf"
		type="client"
		host="localhost"
		port="0"
		single-use="true"
		so-timeout="60000"/>

	<int:chain input-channel="tcpOutboundChannelAdapterWithinChain" auto-startup="false">
		<int-ip:tcp-outbound-channel-adapter connection-factory="ccf"/>
	</int:chain>


</beans>
