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

	<si:channel id="requests"/>

	<!-- Can't have both url and url-expression -->
	<outbound-channel-adapter id="minimalConfig" url="http://localhost/test1" url-expression="'foo'"
				error-handler="testErrorHandler" rest-template="restTemplate" channel="requests"/>

	<beans:bean id="restTemplate" class="org.springframework.web.client.RestTemplate"/>

	<beans:bean id="testErrorHandler"
		class="org.springframework.integration.http.config.HttpOutboundChannelAdapterParserTests$StubErrorHandler"/>

</beans:beans>
