You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Andrea <an...@tarocch.it> on 2021/09/18 20:37:19 UTC

Re: [DISCUSS] Exploring ideas for Camel JBang

All of them seems interesting features, my personal favorite is the possibility to convert an existing route to a kamelet!

On Thu, Aug 19, 2021, at 16:46, Otavio Rodolfo Piske wrote:
> Hello everyone,
> 
> Recently we added a new feature to Camel that allows it to use JBang to
> expose and use features from Camel Core. Currently it has the ability to
> search for Kamelets, documentation and run simple routes.
> 
> I'd like to open a discussion to investigate what other features would be
> interesting to have available on Camel JBang.
> 
> Some ideas I currently have in mind are:
> 
> - Add support for initializing route snippets
> 
> If a user wants to create a YAML route binding for JMS AMQP, instead of
> creating the YAML manually, it would run something like:
> 
> # To create a YAML binding that can be processed by KameletMain
> CamelJBang init kamelet --project=core --kamelet=jms-amqp10-sink
> 
> # To create a YAML binding that can be processed by Camel K / Kubernetes
> CamelJBang init kamelet --project=camel-k --kamelet=jms-amqp10-sink
> 
> At the moment I am exploring whether it's feasible to do that.
> 
> - A scriptable utility that can plug anything to anything and can play well
> with shell scripts.
> 
> The idea is to be able to leverage Camel connectivity to create a CLI
> utility that can consume or produce from anything. Possible audiences for
> this tool/feature would be engineers practicing devops and SREs with the
> need to quickly plug into the systems they use, in order to observe and
> automate parts of their operations.
> 
> - Kameletify: convert a route to kamelet.
> 
> If we are able to introspect into our Java or XML routes and figure out
> what they describe, we might be able to also export them as Kamelets (i.e.:
> kameletify Route1.java my-app-route.kamelet.yaml).
> 
> - A tool to convert camel projects.
> 
> Basically, the idea is to explore if we can create something that can
> convert Camel projects from one sub-project to another (ie.: convert from
> Camel Kafka Connector to Camel Quarkus, Camel Core or Camel K and
> vice-versa).
> 
> Some of these may not be feasible or make sense for the project, but it
> would be interesting to hear the feedback from the community about them and
> possibly investigate a few other possible features.
> 
> 1. https://camel.apache.org/blog/2021/07/camel-jbang/
> 
> Kind regards
> -- 
> Otavio R. Piske
> http://orpiske.net
>