Many thanks Tomo!
I did not notice that you need to use a specific class-a and source field. I
was trying to use both classic mapping and expression mapping at the same
time. It seems to use expression mapping you need following:
- "class-a" element must be exactly
Hi,
There're some testcases demonstrating expression mapping like this:
https://github.com/apache/camel/blob/master/components/camel-dozer/src/test/resources/org/apache/camel/component/dozer/ExpressionMappingTest-context.xml
Hi!
I was trying to use camel-dozer component to translate a POJO generated by
CXF.
1. First I started with simple mapping of two fields 1:1 and URI with
targetModel and mappingFile. Which actually failed, because POJO was wrapped
in some object.
2. Then I've added sourceModel and it worked