You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/02/15 14:59:44 UTC

[GitHub] [camel] davsclaus commented on a change in pull request #5089: core(rest): mark VerbDefinition as an OutputNode

davsclaus commented on a change in pull request #5089:
URL: https://github.com/apache/camel/pull/5089#discussion_r576250696



##########
File path: core/camel-core-model/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
##########
@@ -129,6 +132,15 @@ public String getLabel() {
         }
     }
 
+    @Override
+    public void addOutput(ProcessorDefinition<?> processorDefinition) {
+        if (route == null) {
+            route = new RouteDefinition();
+        }
+
+        route.addOutput(processorDefinition);
+    }

Review comment:
       Yeah looks fine for me, but a good idea is to build camel-spring and see if the XML XSD is changed unexpectedly




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org