This content has been marked as final.
Show 2 replies
-
1. Re: Type converter feature request
njiang Jul 26, 2012 11:30 PM (in response to jamie3_james.archibald)It is strange that you are using @Header and define the converter method with more than two parameter.
Camel Converter only supports to take the Exchange as an additional parameter, not like the bean method can take the @Header annotation.
Willem
-
2. Re: Type converter feature request
davsclaus Aug 13, 2012 1:23 AM (in response to njiang)Yes the type converter method signature, only supports 1 or 2 parameters.
1 parameter = the from type
2 parameters = the from type, Exchange as the 2nd parameter
You cannot use the bean parameter bindings.
And we do not intend to support this in the future.