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

    <context:property-placeholder/>

    <integration:channel id="channel">
        <integration:queue/>
    </integration:channel>

    <inbound-channel-adapter id="filterAndNull"
                             directory="file:${java.io.tmpdir}"
                             filter="testFilter"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>
    </inbound-channel-adapter>

    <inbound-channel-adapter id="filterAndTrue"
                             directory="file:${java.io.tmpdir}"
                             filter="testFilter"
                             prevent-duplicates="true"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>
    </inbound-channel-adapter>

    <inbound-channel-adapter id="filterAndFalse"
                             directory="file:${java.io.tmpdir}"
                             filter="testFilter"
                             prevent-duplicates="false"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <inbound-channel-adapter id="patternAndNull"
                             directory="file:${java.io.tmpdir}"
                             filename-pattern="test"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <inbound-channel-adapter id="patternAndTrue"
                             directory="file:${java.io.tmpdir}"
                             filename-pattern="test"
                             prevent-duplicates="true"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <inbound-channel-adapter id="patternAndFalse"
                             directory="file:${java.io.tmpdir}"
                             filename-pattern="test"
                             prevent-duplicates="false"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <inbound-channel-adapter id="defaultAndNull"
                             directory="file:${java.io.tmpdir}"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <inbound-channel-adapter id="defaultAndTrue"
                             directory="file:${java.io.tmpdir}"
                             prevent-duplicates="true"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <inbound-channel-adapter id="defaultAndFalse"
                             directory="file:${java.io.tmpdir}"
                             prevent-duplicates="false"
                             channel="channel"
                             ignore-hidden="false"
                             auto-startup="false">
        <integration:poller fixed-rate="10000"/>

    </inbound-channel-adapter>

    <beans:bean id="testFilter" class="org.springframework.integration.file.TestFileListFilter"/>

</beans:beans>
