Re: 2 JaxbDataFormat in the same route doesnt work

2013-08-06 Thread mikael_th
I found the error, It was not with the JaxbDataFormat, I had an error in the Converter class (only the class was annotated with @Converter not the method). I got fooled by the error message informing me that there was an error in unmarshalling. After adding the @Converter to the method name, the

2 JaxbDataFormat in the same route doesnt work

2013-08-05 Thread mikael_th
Hello, I am trying to unmarshall an XML string to a JAXB object, convert this to another JAXB object and then marshall this before I send it on a queue. The problem is that in the example below the unmarshall call is using the vgtInternalJaxb DataFormat and not the jaxb DataFormat which is sent t