Hi

I'm doing some conversion of charset in a branch of one of my routes, I'd
like that charset to be given in a properties file, but the charset
attribute doesn't seems to be translated into the proper property value. Is
this a bug with this tag?

<convertBodyTo type="String" charset="${properties:charset.default}" />
<convertBodyTo type="String" charset="{{charset.default}}" />

...
Caused by: java.io.UnsupportedEncodingException:
${properties:charset.default}
...

I suppose I get the same effect if I use a Processor to change the
CHARSET_NAME on the Exchange?
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Error-parsing-simple-properties-in-convertBodyTo-tp3199424p3199424.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to