Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • See all Red Hat products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Red Hat OpenShift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • See all technologies
    • Programming languages & frameworks

      • Java
      • Python
      • JavaScript
    • System design & architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer experience

      • Productivity
      • Tools
      • GitOps
    • Automated data processing

      • AI/ML
      • Data science
      • Apache Kafka on Kubernetes
    • Platform engineering

      • DevOps
      • DevSecOps
      • Red Hat Ansible Automation Platform for applications and services
    • Secure development & architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & cloud native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • See all learning resources

    E-books

    • GitOps cookbook
    • Podman in action
    • Kubernetes operators
    • The path to GitOps
    • See all e-books

    Cheat sheets

    • Linux commands
    • Bash commands
    • Git
    • systemd commands
    • See all cheat sheets

    Documentation

    • Product documentation
    • API catalog
    • Legacy documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore the Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Camel JBang in Motion: Two New Hands-on Labs for Fast-Paced Learning

February 10, 2026
Bruno Meseguer
Related topics:
Developer productivityDeveloper toolsIntegrationProgramming languages & frameworks
Related products:
Developer SandboxDeveloper ToolsRed Hat OpenShift Dev SpacesRed Hat build of Apache Camel

    I am a huge fan of Camel JBang. It has completely transformed my daily workflow, allowing me to move at the speed of thought. By removing the friction of project setup, I can focus entirely on the logic of my integrations, working more comfortably and accelerating the path from a blank page to a running solution.

    To share that experience, I’ve been working on something a bit different. I’ve created two new, "sporty" hands-on scenarios that turn learning Apache Camel into a high-energy experience.

    I wanted to move away from dry, corporate "Hello World" examples. Instead, these labs use competitive logic to teach you the fundamentals through action:

    The Tennis Match: In this scenario, you’ll discover the core Camel JBang commands by orchestrating a tennis match. The Camel routes define the players and their on-court behaviors. As you run and modify the code, you'll see the "volley" of messages representing the match's progress, helping you visualize exactly how Camel handles event flow.

    Let me show you an example of a Camel JBang command during the lab. The send command allows you to produce a message. In this example, player one gets to serve a ball to start a rally:

    camel cmd send player1 --header CamelFileName=🥎

     

    Camel holding tennis trophy

    The Grand Prix: We kick things into high gear with a motor racing event. You’ll enact a race to explore more advanced CLI features. It’s a fast-paced way to learn how to manage multiple routes, handle real-time data updates, and monitor the "telemetry" of your integration using the Camel JBang dashboard.

    See below another lab example to start “Team Camel” and flag it to run in the background. Try it out during the lab to see how the team deploys its racing car on track:

    camel run team.yaml --name teamCamel --background

     

    Camel holding racing trophy

    Why Camel JBang?

    For those who haven't yet made the switch, Camel JBang is the fast-track CLI for Apache Camel. It represents a real evolution in developer experience:

    • Instant Start: Run routes immediately without a pom.xml or heavy boilerplate. Just camel run myfile.yaml.
    • Live Evolution: Use the --dev flag to see changes reflected the moment you hit save, perfect for tweaking player behavior or race strategy in real-time.
    • Integrated Monitoring: Peek inside your running routes to check performance and message flow directly from your terminal with commands like camel get and camel top.

    Choose Your Arena: Local or Cloud

    I’ve designed these scenarios to be flexible based on how you prefer to work:

    • From Your Terminal: If you already have Camel JBang installed, you can jump straight into the action. There is no need to clone a repository; you can simply follow the guided instructions on the project's GitHub pages and copy-paste the commands directly into your terminal.
    • In the Browser (The "Pro" Experience): For the smoothest experience, I recommend running them via the Red Hat Developer Sandbox. I’ve pre-configured everything so that with one click, you get a full VS Code-style environment in your browser with all the tools already installed. No setup, no configuration hurdles.

    Ready to Step Up?

    Whether you're a seasoned Camel veteran or a rookie looking to learn the ropes, these scenarios are designed to be both useful and engaging to watch.

    Head over to the devsandbox-camel-jbang repository, pick your favorite scenario, and see for yourself how Camel JBang can put your integration development into the fast lane.

    Take it to the Next Level

    If you enjoyed these "sporty" scenarios and want to dive deeper, we can help! You can contact Red Hat to schedule a full-day, hands-on workshop for your team. It’s a great way to discover the full potential of Camel JBang, Apache Camel, and how Red Hat Application Foundations can streamline your entire integration strategy.

    Want to learn more?

    Here are some recommended resources for additional learning:

    • Find the featured Camel JBang scenarios in this GitHub repository.
    • Explore the 'infra' command in: Simplify local prototyping with Camel JBang infrastructure.
    • Visit the Apache Camel page on Red Hat Developer to learn more about the capabilities of Apache Camel.
    • Try Apache Camel in the Red Hat Developer Sandbox. No local installs are needed, and it's fully web-based. If you're new to the sandbox, read How to access the Developer Sandbox for Red Hat OpenShift.
    • Try combining Camel and AI in this easy tutorial.

     

    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Recent Posts

    • Camel JBang in Motion: Two New Hands-on Labs for Fast-Paced Learning

    • Debug Ansible errors faster with an AI monitoring agent

    • Leverage AI for root-cause analysis with MCP servers in VS Code and Cursor

    • How to integrate Developer Hub with OpenShift GitOps

    • AI meets you where you are: Slack, email & ServiceNow

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue