Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10899

encoding in StatusText on OperationFailedException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: camel-http
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      on OperationFailedException

      OperationFailedException.java
      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 "����"

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              mazin Mazin Issa Al-Saadi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: