Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared 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
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

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

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • 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 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

Try Apache Camel: From concept to deployment on OpenShift

November 26, 2024
Bruno Meseguer
Related topics:
Developer ProductivityDeveloper ToolsIntegrationJavaJava MicroservicesKubernetesMicroservices
Related products:
Developer SandboxDeveloper ToolsRed Hat OpenShift Dev SpacesRed Hat build of Apache CamelRed Hat OpenShift

Share:

    The Red Hat build of Apache Camel is now available in the Developer Sandbox for Red Hat OpenShift, a Red Hat OpenShift environment that you can access for free to gain hands-on experience in building and deploying cloud-native applications quickly. The tutorial presented in this article will guide you through the process of rapid prototyping using Apache Camel, from the initial concept to the final deployment on OpenShift, all within a fully web-based, low-code interface.

    Apache Camel is an open source integration framework that simplifies system integration by providing a domain-specific language for defining integration routes and a rich set of pre-built components. It is inspired by the Enterprise Integration Patterns book by Gregor Hohpe and Bobby Woolf, making it a powerful tool for addressing complex integration scenarios.

    Rapid prototyping on the Developer Sandbox

    To begin, join the Developer Sandbox, which offers a free, hands-on environment for building and deploying cloud-native applications. Here, you can leverage Apache Camel's capabilities without the need for local installations.

    Key steps for rapid prototyping

    There are 4 key steps for rapid prototyping:

    1. Utilize low-code tools.
    2. Leverage pre-built components.
    3. Deploy on OpenShift.
    4. Integrate with Quarkus or Spring Boot.

    1. Utilize low-code tools

    Take advantage of Camel JBang (Camel's CLI) and the low-code Kaoto UI provided in the Developer Sandbox to quickly prototype your integration flows. This interface allows you to create, test, and refine your integrations without extensive coding.

    2. Leverage pre-built components

    Apache Camel offers a wide range of pre-built components for data mapping, transformation, and service composition, with extensive support for Enterprise Integration Patterns (EIPs). These components simplify the process of integrating diverse systems and data formats.

    3. Deploy on OpenShift

    Use tools like the Camel JBang Kubernetes plug-in to deploy your Apache Camel application on OpenShift. These tools streamline the process of building, deploying, and managing your application within the Kubernetes environment.

    4. Integrate with Quarkus or Spring Boot

    For more complex applications, you can export your Apache Camel prototype into a Camel on Quarkus or Camel on Spring Boot project, providing a robust combination for deploying microservices that can efficiently integrate with other systems, transform data, and route messages with minimal boilerplate code.

    Get started with Apache Camel

    If you are accessing the Developer Sandbox for the first time, you’ll have to create a Red Hat account. Other than that, you are one click away from kicking off this unique experience. Click the link below to get started.

    • Provision Tutorial in the Developer Sandbox

    After Red Hat OpenShift Dev Spaces finishes preparing your workspace and opens VS Code in your browser tab, the Readme file might not appear by default. If so, follow the actions illustrated in Figure 1:

    1. Click ENDPOINTS near the bottom left corner of the screen to unroll the list of endpoints.
    2. Drag the divider upwards to reveal the tutorial's endpoint.
    3. Click the middle icon (external link) to open in a new tab the tutorial's documentation.
    4. In the confirmation panel, click Open.
    Mouse actions in VS Code to open the tutorial’s menu.
    Figure 1: Mouse actions in VS Code to open the tutorial's menu.

    Then, select the Camel - Prototype and deploy on OpenShift tile to get started (Figure 2).

    Select the tile to get started.
    Figure 2: Select the tile to get started.

    In summary, unfold the ENDPOINTS group at the bottom-left corner on the left panel of VS Code, click the tutorial’s link to open the menu, and select the tile (in red) to get started, as per the actions shown in Figures 1 and 2.

    Watch the intro video

    To help you get started and get a glimpse of the tutorial, watch the video below to see how to provision your sandbox environment and some of its highlights.

    How to recover from failures

    Sometimes, the provisioning process fails to complete. Try following the steps below to delete the failed workspace and try again:

    1. Click Workspaces at the top of the screen, as illustrated in Figure 3. The Dev Spaces dashboard will open.
    2. Click the three vertical dots (⋮) button (failed workspace).
    3. Select Delete Workspace.
    4. In the confirmation panel, tick the box, and click Delete.
    Mouse actions in VS Code to delete the failed workspace
    Figure 3: Mouse actions in VS Code to delete the failed workspace.

    After the actions above, retry provisioning your lab. Jump back to Getting Started with Apache Camel

    Final words

    Rapid prototyping with Apache Camel is not only the starting point for powerful integration processes but also a valuable tool throughout the application lifecycle. This streamlined approach enables developers to quickly create, test, and deploy integration applications while also facilitating efficient code reviews, bug fixes, and feature enhancements. 

    By leveraging the low-code UI, pre-built components, and robust capabilities of Apache Camel, teams can swiftly move from concept to deployment. This agile method ensures that complex integration scenarios are addressed with speed and precision, making it ideal for dynamic development teams to continuously improve and maintain their applications.

    Tutorial’s repository

    You can find all the sources for this tutorial under the following GitHub repository: devsandbox-camel.

    Never stop learning

    Find below a list of recommended resources:

    • Try the AI Basics tutorial to see Camel+AI in action, also hosted in the Developer Sandbox.
    • Visit the Red Hat build of Apache Camel product page on Red Hat Developer.
    • Discover the Solution Pattern Edge to Core data pipelines for AI/ML.
    • For first-timers, read How to access the Developer Sandbox for Red Hat OpenShift.
    • Learn more about the Red Hat build of Apache Camel in Red Hat Application Foundations offering.
    OSZAR »

    Related Posts

    • Try Camel on Quarkus in the Developer Sandbox for Red Hat OpenShift

    • Tutorial: Tool up your LLM with Apache Camel on OpenShift

    • Camel integration quarterly digest: Q1 2024

    • Implement AI-driven edge to core data pipelines

    • Build an extendable multichannel messaging platform

    • Migrating from Red Hat Fuse to Red Hat build of Apache Camel

    Recent Posts

    • LLM Compressor: Optimize LLMs for low-latency deployments

    • How to set up NVIDIA NIM on Red Hat OpenShift AI

    • Leveraging Ansible Event-Driven Automation for Automatic CPU Scaling in OpenShift Virtualization

    • Python packaging for RHEL 9 & 10 using pyproject RPM macros

    • Kafka Monthly Digest: April 2025

    What’s up next?

    Learn how to create an Apache Camel integration and deploy it as a serverless service using the VS Code extension Karavan.

    Start the activity
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    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

    Red Hat legal and privacy links

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

    Report a website issue

    OSZAR »