<?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="input"/>

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

	<channel id="requests"/>

	<enricher id="enricher" input-channel="input" request-channel="requests"
	          output-channel="output" order="99"
	          request-payload-expression="payload.age">
		<property name="name" expression="'Name as SpEL'"/>
		<property name="age" expression="payload.sourceName"/>
	</enricher>

</beans:beans>
