ity
>> of setting the encoding on each exchange, is it possible to set the
>> charset
>> on the run?
>> Even encoding in the correct charset when setting the body would be fine.
>>
>>
>
>
>
--
View this message in context:
http://old.nabble.com/need-create-a-route-which-can-handle-several-encoding-tp28480336p28483227.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
You can set the encoding on each exchange by set the exchange property
with the name Exchange.CHARSET_NAME("CamelCharsetName") and value that
you want.
You can do it with DSL
setProperty(Exchange.CHARSET_NAME,
ExpressionBuilder.constantExpression("UTF-8"))
or Spring config
UTF
would be fine.
--
View this message in context:
http://old.nabble.com/need-create-a-route-which-can-handle-several-encoding-tp28480336p28480336.html
Sent from the Camel - Users mailing list archive at Nabble.com.