Re: need create a route which can handle several encoding

2010-05-07 Thread mcrive
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.

Re: need create a route which can handle several encoding

2010-05-06 Thread Willem Jiang
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

need create a route which can handle several encoding

2010-05-06 Thread mcrive
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.