You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2018/11/30 11:52:45 UTC

[GitHub] zregvart commented on issue #249: Add support for template endpoint

zregvart commented on issue #249: Add support for template endpoint
URL: https://github.com/apache/camel-k/issues/249#issuecomment-443181416
 
 
   I see `template:out` and in the example `template.out`, that's a bit confusing.
   
   I would rather introduce placeholders perhaps via go templates and then have traits triggered on the endpoints used. Would that make (more?) sense?
   
   Something like: `from("{{.In}}").to("{{.Out}}")`
   and `kamel run -p In=knative:channel/a -p Out=knative:channel/b`
   
   And then the `knative` endpoint schema triggerers the `knative` trait.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services