jameshilliard commented on a change in pull request #5107:
URL: https://github.com/apache/camel/pull/5107#discussion_r581235654



##########
File path: 
components/camel-kamelet/src/main/java/org/apache/camel/component/kamelet/Kamelet.java
##########
@@ -116,6 +116,10 @@ public static RouteDefinition 
templateToRoute(RouteTemplateDefinition in, Map<St
         RouteDefinition def = in.asRouteDefinition();
         def.setId(rid);
 
+        if (def.getInput() == null) {
+            throw new IllegalArgumentException("Camel route " + rid + " input 
does not exist.");

Review comment:
       How's this wording for the error message?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to