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

	<int-http:inbound-channel-adapter path="/no" supported-methods="GET" channel="nullChannel"/>

	<int-http:inbound-channel-adapter path="/no" supported-methods="POST" channel="nullChannel"/>

	<int-http:inbound-channel-adapter path="/default" supported-methods="GET" channel="nullChannel">
		<int-http:cross-origin/>
	</int-http:inbound-channel-adapter>

	<int-http:inbound-channel-adapter path="/default" supported-methods="GET" channel="nullChannel">
		<int-http:request-mapping params="q"/>
		<int-http:cross-origin/>
	</int-http:inbound-channel-adapter>

	<int-http:inbound-channel-adapter path="/ambiguous-header" supported-methods="GET" channel="nullChannel">
		<int-http:request-mapping headers="header1=a, header2=foo"/>
		<int-http:cross-origin/>
	</int-http:inbound-channel-adapter>

	<int-http:inbound-channel-adapter path="/ambiguous-header" supported-methods="GET" channel="nullChannel">
		<int-http:request-mapping headers="header1=b"/>
		<int-http:cross-origin/>
	</int-http:inbound-channel-adapter>

	<int-http:inbound-channel-adapter path="/customized" supported-methods="GET,POST" channel="nullChannel">
		<int-http:cross-origin origin="https://site1.com,https://site2.com"
							   allowed-headers="header1, header2"
							   exposed-headers="header3, header4"
							   method="DELETE"
							   max-age="123"
							   allow-credentials="false"/>
	</int-http:inbound-channel-adapter>

	<int-http:inbound-gateway path="/ambiguous-produces" supported-methods="GET" request-channel="nullChannel">
		<int-http:request-mapping produces="application/xml"/>
		<int-http:cross-origin/>
	</int-http:inbound-gateway>

	<int-http:inbound-gateway path="/ambiguous-produces" supported-methods="GET" request-channel="nullChannel">
		<int-http:request-mapping produces="application/json"/>
		<int-http:cross-origin/>
	</int-http:inbound-gateway>

</beans:beans>
