davsclaus commented on issue #631:
URL: https://github.com/apache/camel-k-runtime/issues/631#issuecomment-779798268


   @nicolaferraro the route templates in camel-core has parameters that always 
must be provided a value for: 
   (a) by providing the value
   (b) by setting a default value where the parameter is declared
   
   There is no notion of optional parameter. You cannot use Lucas 
{{clientId:myDefaultValue}} in the flow as the route template validates that 
all parameters have values.
   
   For optional parameters then we need to add support for this, so we know 
that for endpoint uri's we know that if the parameter is used in the uri, on 
either the key or value side (key=value), then that combo should not be 
included when the route is created. This is maybe a little bit tricker but lets 
create a JIRA ticket in camel-core


----------------------------------------------------------------
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:
[email protected]


Reply via email to