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

camel-platform-http - Return 503 if consumer is suspended

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      We do this in camel-servet based (jetty etc)

      // are we suspended and a request is dispatched initially?
      if (consumer.isSuspended() && isInitial(request))

      { response.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE); return; }

      We should do something like that in camel-platform-http, so Camel does not accept incoming requests when its suspended/shutdown graceful

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: