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

	<si-xml:xpath-filter id="parseOnly"
			order="2"
			auto-startup="false"
			phase="-1"
			role="foo"
			send-timeout="123"
			input-channel="booleanFilterInput" discard-channel="booleanFilterRejections">
		<si-xml:xpath-expression expression="/name"/>
	</si-xml:xpath-filter>

	<si-xml:xpath-filter id="booleanFilter" input-channel="booleanFilterInput" discard-channel="booleanFilterRejections">
		<si-xml:xpath-expression expression="/name"/>
	</si-xml:xpath-filter>

	<si:channel id="booleanFilterRejections">
		<si:queue/>
	</si:channel>

	<si-xml:xpath-filter id="booleanFilterWithNamespace" input-channel="booleanFilterWithNamespaceInput" discard-channel="booleanFilterWithNamespaceRejections">
		<si-xml:xpath-expression expression="/ns:name" ns-prefix="ns" ns-uri="www.example.org"/>
	</si-xml:xpath-filter>

	<si:channel id="booleanFilterWithNamespaceRejections">
		<si:queue/>
	</si:channel>

	<si-xml:xpath-filter id="nestedNamespaceMapFilter" input-channel="nestedNamespaceMapFilterInput" discard-channel="nestedNamespaceMapFilterRejections">
		<si-xml:xpath-expression expression="/ns:name">
			<map>
				<entry key="ns" value="www.example.org"/>
			</map>
		</si-xml:xpath-expression>
	</si-xml:xpath-filter>

	<si:channel id="nestedNamespaceMapFilterRejections">
		<si:queue/>
	</si:channel>

	<si-xml:xpath-filter id="stringFilterWithNamespace" input-channel="stringFilterWithNamespaceInput" discard-channel="stringFilterWithNamespaceRejections"
			match-value="outputOne">
		<si-xml:xpath-expression expression="/ns:name" ns-prefix="ns" ns-uri="www.example.org"/>
	</si-xml:xpath-filter>

	<si:channel id="stringFilterWithNamespaceRejections">
		<si:queue/>
	</si:channel>

	<si-xml:xpath-filter id="stringFilterIgnoresCase" input-channel="stringFilterIgnoresCaseInput" discard-channel="stringFilterIgnoresCaseRejections"
			match-value="outputOne" match-type="case-insensitive">
		<si-xml:xpath-expression expression="name"/>
	</si-xml:xpath-filter>

	<si:channel id="stringFilterIgnoresCaseRejections">
		<si:queue/>
	</si:channel>

	<si-xml:xpath-filter id="stringFilterRegex" input-channel="stringFilterRegexInput" discard-channel="stringFilterRegexRejections"
			match-value="[A-Za-z]+" match-type="regex">
		<si-xml:xpath-expression expression="name"/>
	</si-xml:xpath-filter>

	<si:channel id="stringFilterRegexRejections">
		<si:queue/>
	</si:channel>

</beans>
