splitter-inner-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<splitter id="testSplitter" input-channel="inChannel" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestSplitter" /> \
	</splitter>  \
</beans:beans>
splitter-inner-success-with-poller=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
	xmlns:beans="http://www.springframework.org/schema/beans" \
	xmlns:task="http://www.springframework.org/schema/task" \
	xsi:schemaLocation="http://www.springframework.org/schema/beans \
			https://www.springframework.org/schema/beans/spring-beans.xsd \
			http://www.springframework.org/schema/task \
			https://www.springframework.org/schema/task/spring-task.xsd \
			http://www.springframework.org/schema/integration \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<channel id="outChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<splitter id="testSplitter" input-channel="inChannel" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestSplitter" /> \
		<poller task-executor="executor" max-messages-per-poll="5" fixed-delay="20" /> \
	</splitter>  \
	<task:executor id="executor" pool-size="5" /> \
</beans:beans>
splitter-inner-success-with-poller-reversed-order=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
	xmlns:beans="http://www.springframework.org/schema/beans" \
	xmlns:task="http://www.springframework.org/schema/task" \
	xsi:schemaLocation="http://www.springframework.org/schema/beans \
			https://www.springframework.org/schema/beans/spring-beans.xsd \
			http://www.springframework.org/schema/task \
			https://www.springframework.org/schema/task/spring-task.xsd \
			http://www.springframework.org/schema/integration \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<channel id="outChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<splitter id="testSplitter" input-channel="inChannel" output-channel="outChannel"> \
		<poller task-executor="executor" max-messages-per-poll="5" fixed-delay="20"/> \
        <beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestSplitter" /> \
	</splitter>  \
	<task:executor id="executor" pool-size="5" /> \
</beans:beans>
splitter-ref-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<splitter id="testSplitter" ref="splitterBean" input-channel="inChannel" output-channel="outChannel"/> \
	<beans:bean id="splitterBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestSplitter" /> \
</beans:beans>
splitter-failure-refAndBean=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="2" /> \
	</channel> \
	<splitter id="testSplitter" ref="splitterBean" input-channel="inChannel" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestSplitter" /> \
	</splitter> \
	<beans:bean id="splitterBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestSplitter" /> \
</beans:beans>
transformer-inner-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<transformer id="testTransformer" input-channel="inChannel" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestTransformer" /> \
	</transformer>  \
</beans:beans>
transformer-ref-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<transformer id="testTransformer" ref="testTransformerBean" input-channel="inChannel" output-channel="outChannel"/> \
	<beans:bean id="testTransformerBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestTransformer" /> \
</beans:beans>
transformer-failure-refAndBean=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<transformer id="testTransformer" ref="testTransformerBean" input-channel="inChannel" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestTransformer" /> \
	</transformer> \
	<beans:bean id="testTransformerBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestTransformer" /> \
</beans:beans>
router-inner-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="channel1"> \
		<queue capacity="1" /> \
	</channel> \
	<channel id="channel2"> \
		<queue capacity="1" /> \
	</channel> \
	<router id="testRouter" input-channel="inChannel" method="route"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestRouter" /> \
	</router>  \
</beans:beans>
router-ref-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="channel1"> \
		<queue capacity="1" /> \
	</channel> \
	<channel id="channel2"> \
		<queue capacity="1" /> \
	</channel> \
	<router id="testRouter" ref="testRouterBean" input-channel="inChannel" method="route"/> \
	<beans:bean id="testRouterBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestRouter" /> \
</beans:beans>
router-failure-refAndBean=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<router id="testRouter" ref="testRouterBean" input-channel="inChannel" method="route"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestRouter" /> \
	<router/> \
	<beans:bean id="testRouterBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestRouter" /> \
</beans:beans>
sa-inner-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<service-activator id="testServiceActivator" input-channel="inChannel" output-channel = "outChannel" method="foo"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestServiceActivator" /> \
	</service-activator>  \
</beans:beans>
sa-ref-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<service-activator id="testServiceActivator" ref="testServiceActivatorBean" input-channel="inChannel" output-channel = "outChannel" method="foo"/> \
	<beans:bean id="testServiceActivatorBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestServiceActivator" /> \
</beans:beans>
sa-failure-refAndBean=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<service-activator id="testServiceActivator" ref="testServiceActivatorBean" input-channel="inChannel" output-channel = "outChannel" method="foo"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestServiceActivator" /> \
	</service-activator>  \
	<beans:bean id="testServiceActivatorBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestServiceActivator" /> \
</beans:beans>
aggregator-inner-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<aggregator input-channel="inChannel" method="sum" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestAggregator"/> \
	</aggregator> \
</beans:beans>
aggregator-ref-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"> \
	</channel> \
	<channel id="outChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<aggregator input-channel="inChannel" ref="aggregator" method="sum" output-channel="outChannel"/> \
    <beans:bean id="aggregator" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestAggregator"/> \
</beans:beans>
aggregator-inner-concurrent-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
	xmlns:beans="http://www.springframework.org/schema/beans" \
	xmlns:task="http://www.springframework.org/schema/task" \
	xsi:schemaLocation="http://www.springframework.org/schema/beans \
			https://www.springframework.org/schema/beans/spring-beans.xsd \
			http://www.springframework.org/schema/task \
			https://www.springframework.org/schema/task/spring-task.xsd \
			http://www.springframework.org/schema/integration \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<channel id="outChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<aggregator input-channel="inChannel" method="sum" output-channel="outChannel"> \
	    <poller task-executor="executor" max-messages-per-poll="5" fixed-delay="20" /> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestAggregator"/> \
	</aggregator> \
	<task:executor id="executor" pool-size="5" /> \
</beans:beans>
aggregator-inner-concurrent-success-reorder-bean-poller=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
	xmlns:beans="http://www.springframework.org/schema/beans" \
	xmlns:task="http://www.springframework.org/schema/task" \
	xsi:schemaLocation="http://www.springframework.org/schema/beans \
			https://www.springframework.org/schema/beans/spring-beans.xsd \
			http://www.springframework.org/schema/task \
			https://www.springframework.org/schema/task/spring-task.xsd \
			http://www.springframework.org/schema/integration \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<channel id="outChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<aggregator input-channel="inChannel" method="sum" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestAggregator"/> \
	    <poller task-executor="executor" max-messages-per-poll="5" fixed-delay="20"/> \
	</aggregator> \
	<task:executor id="executor" pool-size="5" /> \
</beans:beans>
aggregator-failure-refAndBean=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="5" /> \
	</channel> \
	<aggregator input-channel="inChannel" ref="aggregator" method="sum" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestAggregator"/> \
	</aggregator> \
	<beans:bean id="aggregator" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestAggregator"/> \
</beans:beans>
filter-inner-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1" /> \
	</channel> \
	<filter input-channel="inChannel" method="filter" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestMessageFilter"/> \
	</filter> \
</beans:beans>
filter-ref-success=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1"/> \
	</channel> \
	<filter input-channel="inChannel" ref="testFilterBean" method="filter" output-channel="outChannel"/> \
	<beans:bean id="testFilterBean" class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestMessageFilter"/> \
</beans:beans>
filter-failure-refAndBean=\
<?xml version="1.0" encoding="UTF-8"?> \
<beans:beans xmlns="http://www.springframework.org/schema/integration" \
	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 \
			https://www.springframework.org/schema/integration/spring-integration.xsd"> \
	<channel id="inChannel"/> \
	<channel id="outChannel"> \
		<queue capacity="1"/> \
	</channel> \
	<filter input-channel="inChannel" ref="testFilterBean" method="filter" output-channel="outChannel"> \
		<beans:bean class="org.springframework.integration.config.xml.InnerDefinitionHandlerAwareEndpointParserTests$TestMessageFilter"/> \
	</filter>
</beans:beans>
