All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dozer.dozer-camel-context.xml Maven / Gradle / Ivy

There is a newer version: 12.0.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
       http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">

	<camelContext id="dozer-spring-context" xmlns="http://camel.apache.org/schema/spring">
		<endpoint id="json2obj"
			uri="dozer:json2obj?mappingFile=dozer-mappings.xml&amp;unmarshalId=json&amp;targetModel=org.wildfly.camel.test.dozer.subA.CustomerB" />
        <dataFormats>
            <json library="XStream" id="json" unmarshalTypeName="org.wildfly.camel.test.dozer.subA.CustomerA" />
        </dataFormats>
		<route>
			<from uri="direct:start" />
			<to ref="json2obj" />
		</route>
	</camelContext>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy