### camel-dozer

The http://camel.apache.org/dozer.html[dozer,window=_blank]
component provides the ability to map between Java beans using the http://camel.apache.org/dozer-type-conversion.html[Dozer,window=_blank]
mapping framework.  Camel also supports the ability to trigger Dozer mappings as a http://camel.apache.org/dozer-type-conversion.html[type converter,window=_blank].

[source,java,options="nowrap"]
----
CamelContext camelctx = new DefaultCamelContext();
camelctx.addRoutes(new RouteBuilder() {
    @Override
    public void configure() throws Exception {
        from("direct:start").convertBodyTo(CustomerB.class);
    }
});

DozerBeanMapperConfiguration mconfig = new DozerBeanMapperConfiguration();
mconfig.setMappingFiles(Arrays.asList(new String[] { "mappings.xml" }));
new DozerTypeConverterLoader(camelctx, mconfig);
----

