ullgren commented on code in PR #26203:
URL: https://github.com/apache/camel/pull/26203#discussion_r4090719163


##########
components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java:
##########
@@ -265,5 +315,19 @@ protected void doStop() throws Exception {
             }
         }
         paths.clear();
+
+        if (unmatchedRequestCatchAllRegistered) {
+            try {
+                PlatformHttpComponent phc = 
camelContext.getComponent("platform-http", PlatformHttpComponent.class);
+                if (phc != null) {

Review Comment:
   Ooops sorry commited the suggestion using the webui, without validating the 
result. My bad sorry.



##########
components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiProcessor.java:
##########
@@ -265,5 +315,19 @@ protected void doStop() throws Exception {
             }
         }
         paths.clear();
+
+        if (unmatchedRequestCatchAllRegistered) {
+            try {
+                PlatformHttpComponent phc = 
camelContext.getComponent("platform-http", PlatformHttpComponent.class);
+                if (phc != null) {

Review Comment:
   Ooops sorry committed the suggestion using the webui, without validating the 
result. My bad sorry.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to