lburgazzoli edited a comment on pull request #1602:
URL: https://github.com/apache/camel-k/pull/1602#issuecomment-671476441


   I think we already discussed this but wonder if we can reference kamelets 
just like any other source since the beginning, something like:
   
   
   ```
   camel.k.sources[0].name = Timer
   camel.k.sources[0].language = yaml
   camel.k.sources[0].location = file:/etc/camel/sources/timer/timer.yaml
   camel.k.sources[0].type = template
   camel.k.sources[0].schema = file:/etc/camel/sources/timer/timer-schema.json
   ```
   
   so on the runtime side, we can always reason in term of sources and then 
create a template or a route depending on the `type`.  
   
   For backward compatibility, setting the routes using the env vars as today 
will be supported for some time.
   


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