You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/02/27 10:14:45 UTC

[jira] [Resolved] (CAMEL-10899) encoding in StatusText on OperationFailedException

     [ https://issues.apache.org/jira/browse/CAMEL-10899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-10899.
---------------------------------
    Resolution: Not A Problem
      Assignee: Claus Ibsen

Camel returns the data as the http client gives Camel

> encoding in StatusText on OperationFailedException
> --------------------------------------------------
>
>                 Key: CAMEL-10899
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10899
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http
>            Reporter: Mazin Issa Al-Saadi
>            Assignee: Claus Ibsen
>
> on OperationFailedException
> {code:title=OperationFailedException.java|borderStyle=solid}
> HttpOperationFailedException cause = (HttpOperationFailedException) exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Exception.class);
> String responseStatus = cause.getStatusText();
> {code}
> i have service returning status as utf8 encoding.
> in this case i am getting  "����"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)