GithubHelp home page GithubHelp logo

camel-bang's Introduction

camel-bang (experiment)

Apache Camel to run a Camel Java route with jbang.

Official camel-jbang

This work was an early experiment that now is part of Apache Camel: https://camel.apache.org/manual/camel-jbang.html

How to run

The tool can be run via

  • jbang

Run via jbang

First you must install [jbang].

Then you can run with

jbang launch@davsclaus/camel-bang https://raw.githubusercontent.com/davsclaus/camel-bang/main/Foo.java

Which will run Camel and download the Foo.java source code from github and compile as Java and add its routes.

If you have a local Java source code you of course use that

jbang launch@davsclaus/camel-bang MyRoute.java

You can specify multiple files:

jbang launch@davsclaus/camel-bang MyRoute.java Cheese.java

An example of a Camel java route is located here with the source code, which you can copy and edit.

Caution

This is just a little experiment and therefore not recommended for production.

The application only includes a tiny set of Camel components:

  • camel-bean
  • camel-log
  • camel-timer

camel-bang's People

Contributors

davsclaus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.