<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd
		http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/integration/event https://www.springframework.org/schema/integration/event/spring-integration-event.xsd"
	   xmlns:context="http://www.springframework.org/schema/context"
	   xmlns:int="http://www.springframework.org/schema/integration"
	   xmlns:int-event="http://www.springframework.org/schema/integration/event">

	<int:message-history/>

	<int-event:inbound-channel-adapter id="eventAdapterSimple" channel="input"
									   error-channel="errorChannel"/>

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

	<int-event:inbound-channel-adapter id="eventAdapterFiltered" channel="inputFiltered"
									   event-types="org.springframework.integration.event.config.EventInboundChannelAdapterParserTests$AnotherSampleEvent,
	                                                org.springframework.integration.event.config.EventInboundChannelAdapterParserTests$SampleEvent,
	                                                java.util.Date"/>

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

	<int-event:inbound-channel-adapter id="eventAdapterFilteredPlaceHolder" channel="inputFilteredPlaceHolder"
									   event-types="${event.types}"/>

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

	<int-event:inbound-channel-adapter id="eventAdapterSpel" channel="inputSpel" payload-expression="source + '-test'"/>

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

	<int-event:inbound-channel-adapter id="autoChannel" payload-expression="source + '-test'"/>

	<int:bridge input-channel="autoChannel" output-channel="nullChannel"/>

	<context:property-placeholder
			location="classpath:org/springframework/integration/event/config/inbound-adapter.properties"/>

</beans>
