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

	<si:channel id="requests"/>

	<outbound-channel-adapter id="reactiveMinimalConfig" url="http://localhost/test1" channel="requests"
							  encoding-mode="VALUES_ONLY"/>

	<outbound-channel-adapter id="reactiveWebClientConfig" url="http://localhost/test1" channel="requests"
							  web-client="webClient"
							  publisher-element-type="java.util.Date"/>

	<beans:bean id="webClient" class="org.springframework.web.reactive.function.client.WebClient"
				factory-method="create"/>

</beans:beans>
