Skip to content

Instantly share code, notes, and snippets.

@wfouche
Last active January 9, 2026 21:37
Show Gist options
  • Select an option

  • Save wfouche/21b61ce84bef02726e46ae46a6a40363 to your computer and use it in GitHub Desktop.

Select an option

Save wfouche/21b61ce84bef02726e46ae46a6a40363 to your computer and use it in GitHub Desktop.
CamelJBang.java
//JAVA 17+
//REPOS central=https://repo1.maven.org/maven2,apache-snapshot=https://repository.apache.org/content/groups/snapshots/
//DEPS org.apache.camel:camel-bom:${jbang.app.version:4.16.0}@pom
//DEPS org.apache.camel:camel-jbang-core:${jbang.app.version:4.16.0}
//DEPS org.apache.camel.kamelets:camel-kamelets:${jbang.app.version:4.16.0}
package main;
import org.apache.camel.dsl.jbang.core.commands.CamelJBangMain;
/**
* Main to run CamelJBang
*/
public class CamelJBang {
public static void main(String... args) {
CamelJBangMain.run(args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment