Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Try Apache Camel: From concept to deployment on OpenShift

November 26, 2024
Bruno Meseguer
Related topics:
Developer productivityDeveloper toolsIntegrationJavaJava microservicesKubernetesMicroservices
Related products:
Developer SandboxDeveloper ToolsetRed Hat OpenShift Dev SpacesRed Hat build of Apache CamelRed Hat OpenShift

    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.

    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

    • Tekton joins the CNCF as an incubating project

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    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

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.