<?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:int="http://www.springframework.org/schema/integration"
	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">

	<int:exception-type-router input-channel="inChannel" default-output-channel="outputChannel">
		<int:mapping exception-type="java.lang.NullPointerException" channel="nullPointerChannel"/>
		<int:mapping exception-type="java.lang.IllegalArgumentException" channel="illegalArgumentChannel"/>
	</int:exception-type-router>
	
	<int:channel id="nullPointerChannel">
		<int:queue/>
	</int:channel>
	
	<int:channel id="illegalArgumentChannel">
		<int:queue/>
	</int:channel>
	
	<int:channel id="outputChannel">
		<int:queue/>
	</int:channel>
	
</beans>
