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

camel-platform-http - Exchange exception causes always 500 error

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.16.0
    • None
    • Unknown

    Description

      The other HTTP components has logic that deals with exchange exception and writes a custom response code, and allow end users to control the http status code etc.

      Because vertx uses a ctx.fail(throwable) then it returns a canned 500 response to http client and does a stacktrace logging.

      We should use the existing response code that already deals with errors.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment