Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-3928

Unable to Catch Custom Exception of camel quarkus servlet rest api

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.13.7.GA
    • undertow
    • None
    • False
    • None
    • False
    • ---
    • Red Hat build of Quarkus

      
      //Rest Endpoint Config in application.properties:
      
      //servlet configuration
      camel.rest.component=servlet
      quarkus.camel.servlet.url-patterns=/*
      quarkus.camel.servlet.servlet-class=org.apache.camel.component.servlet.CamelHttpTransportServlet
      quarkus.http.root-path=/
      
      
      

      #camel.rest.component=platform-http** // l invokes the custom exception class

      it is working/throwing custom exception if 'camel.rest.component=platform-http' but not throwing exception for 'camel.rest.component=servlet'

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhn-support-kkakarla kodandaRamu kakarla
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: