<?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:groovy="http://www.springframework.org/schema/integration/groovy"
			 xsi:schemaLocation="http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/integration/groovy https://www.springframework.org/schema/integration/groovy/spring-integration-groovy.xsd
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">

	<beans:bean class="org.springframework.integration.groovy.config.GroovyFilterTests.TestConfig"/>

	<filter id="groovyFilter" input-channel="referencedScriptInput">
		<groovy:script location="org/springframework/integration/groovy/config/GroovyFilterTests.groovy"
					   compiler-configuration="compilerConfiguration"/>
	</filter>

	<filter input-channel="inlineScriptInput">
		<groovy:script><![CDATA[
			return payload == 'good'
			]]></groovy:script>
	</filter>

	<filter input-channel="compileStaticFailScriptInput">
		<groovy:script compile-static="true"><![CDATA[
			payload == 'good'
			]]></groovy:script>
	</filter>

</beans:beans>
