camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mazin Issa Al-Saadi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10899) encoding in StatusText on OperationFailedException
Date Sun, 26 Feb 2017 09:58:46 GMT
Mazin Issa Al-Saadi created CAMEL-10899:
-------------------------------------------

             Summary: 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


on OperationFailedException

HttpOperationFailedException cause = (HttpOperationFailedException) exchange.getProperty(Exchange.EXCEPTION_CAUGHT,
Exception.class);

String responseStatus = cause.getStatusText();

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)

Mime
View raw message