Hi

Yeah from the git history and the source code it seems like we should
restore the old one after the conversion.
You are welcome to log a JIRA and provide a PR

On Thu, Feb 15, 2018 at 7:38 PM, Quinn Stevenson
<qu...@pronoia-solutions.com> wrote:
> I found a situation where Camel isn’t doing what I expected, and I wanted to 
> ask the developers before I created the JIRA and changed the behavior that I 
> believe is a bug.
>
> What I’m seeing is when I call convertBodyTo with a both type and a character 
> set supplied and the exchange already has a character set specified, the 
> character set is being removed by the convertBodyTo operation.  I would 
> expect the original character set on the exchange would be restored, not 
> removed.
>
> Is this functionality by design or is it a bug?
>
>
>
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to