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

	<transformer input-channel="referencedScriptInput">
		<script:script
		lang="ruby"
		location="org/springframework/integration/scripting/config/jsr223/Jsr223TransformerTests.rb"/>
	</transformer>

	<transformer input-channel="inlineScriptInput">
		<script:script lang="groovy"><![CDATA[
				return "inline-$payload"
		]]></script:script>
	</transformer>

	<task:executor id="executor" pool-size="100"/>

	<channel id="int3162InputChannel">
		<dispatcher task-executor="executor"/>
	</channel>

	<channel id="int3162OutputChannel">
		<queue/>
	</channel>

	<transformer input-channel="int3162InputChannel" output-channel="int3162OutputChannel">
		<script:script lang="javascript"><![CDATA[
				(function(){
				return payload;
			})();
		]]></script:script>
	</transformer>


</beans:beans>
