<?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">

	<json-to-object-transformer id="defaultJacksonMapperTransformer" input-channel="defaultObjectMapperInput"
			type="org.springframework.integration.json.TestPerson"
			value-type-expression="T (Class).forName('non.existing.type')"/>

	<json-to-object-transformer id="customJsonMapperTransformer" input-channel="customJsonObjectMapperInput"
			type="org.springframework.integration.json.TestPerson"
			object-mapper="customJsonObjectMapper"/>

	<beans:bean id="customJsonObjectMapper" class="org.springframework.integration.json.JsonToObjectTransformerParserTests$CustomJsonObjectMapper"/>

</beans:beans>
