Switch branches/tags
Find file History
Permalink
..
Failed to load latest commit information.
camel-example-activemq-tomcat Update with next development version Jul 3, 2018
camel-example-aggregate Update with next development version Jul 3, 2018
camel-example-artemis-amqp-blueprint CAMEL-12634: Automate Artmemis download and config for Jul 10, 2018
camel-example-artemis-large-messages CAMEL-12634: Automate Artmemis download and config for Jul 10, 2018
camel-example-bam Update with next development version Jul 3, 2018
camel-example-cafe Update with next development version Jul 3, 2018
camel-example-cassandra-kubernetes Update with next development version Jul 3, 2018
camel-example-cdi-aws-s3 Update with next development version Jul 3, 2018
camel-example-cdi-cassandraql Update with next development version Jul 3, 2018
camel-example-cdi-kubernetes Update with next development version Jul 3, 2018
camel-example-cdi-metrics Update with next development version Jul 3, 2018
camel-example-cdi-osgi Update with next development version Jul 3, 2018
camel-example-cdi-properties Update with next development version Jul 3, 2018
camel-example-cdi-rest-servlet Update with next development version Jul 3, 2018
camel-example-cdi-test Update with next development version Jul 3, 2018
camel-example-cdi-xml Update with next development version Jul 3, 2018
camel-example-cdi Update with next development version Jul 3, 2018
camel-example-console Update with next development version Jul 3, 2018
camel-example-cxf-blueprint Update with next development version Jul 3, 2018
camel-example-cxf-proxy Update with next development version Jul 3, 2018
camel-example-cxf-tomcat Update with next development version Jul 3, 2018
camel-example-cxf Update with next development version Jul 3, 2018
camel-example-fhir-osgi Fix CS Jul 18, 2018
camel-example-fhir [CAMEL-12625] Create Camel FHIR example Jul 9, 2018
camel-example-ftp Update with next development version Jul 3, 2018
camel-example-google-pubsub Update with next development version Jul 3, 2018
camel-example-groovy Update with next development version Jul 3, 2018
camel-example-grpc-kubernetes Update with next development version Jul 3, 2018
camel-example-guice-jms Update with next development version Jul 3, 2018
camel-example-hazelcast-kubernetes Use latest Hazelcast Kubernetes image 3.10.3 Jul 19, 2018
camel-example-hystrix Update with next development version Jul 3, 2018
camel-example-java8-rx Update with next development version Jul 3, 2018
camel-example-java8 Update with next development version Jul 3, 2018
camel-example-jdbc Update with next development version Jul 3, 2018
camel-example-jms-file Update with next development version Jul 3, 2018
camel-example-jmx Update with next development version Jul 3, 2018
camel-example-kafka Update with next development version Jul 3, 2018
camel-example-kotlin Update with next development version Jul 3, 2018
camel-example-loadbalancing Update with next development version Jul 3, 2018
camel-example-loan-broker-cxf Update with next development version Jul 3, 2018
camel-example-loan-broker-jms Update with next development version Jul 3, 2018
camel-example-management Update with next development version Jul 3, 2018
camel-example-micrometer Update with next development version Jul 3, 2018
camel-example-mybatis Update with next development version Jul 3, 2018
camel-example-netty-custom-correlation Update with next development version Jul 3, 2018
camel-example-netty-http Update with next development version Jul 3, 2018
camel-example-olingo4-blueprint Update with next development version Jul 3, 2018
camel-example-opentracing Update with next development version Jul 3, 2018
camel-example-pojo-messaging Update with next development version Jul 3, 2018
camel-example-rabbitmq Update with next development version Jul 3, 2018
camel-example-reactive-streams Update with next development version Jul 3, 2018
camel-example-reload Update with next development version Jul 3, 2018
camel-example-reportincident-wssecurity Update with next development version Jul 3, 2018
camel-example-reportincident Update with next development version Jul 3, 2018
camel-example-rest-producer Update with next development version Jul 3, 2018
camel-example-rest-swagger Update with next development version Jul 3, 2018
camel-example-restlet-jdbc Update with next development version Jul 3, 2018
camel-example-route-throttling Update with next development version Jul 3, 2018
camel-example-scala Update with next development version Jul 3, 2018
camel-example-servlet-rest-blueprint Update with next development version Jul 3, 2018
camel-example-servlet-tomcat-no-spring Update with next development version Jul 3, 2018
camel-example-servlet-tomcat Update with next development version Jul 3, 2018
camel-example-simplejirabot Update with next development version Jul 3, 2018
camel-example-spark-rest Update with next development version Jul 3, 2018
camel-example-splunk Update with next development version Jul 3, 2018
camel-example-spring-boot-activemq Update with next development version Jul 3, 2018
camel-example-spring-boot-clustered-route-controller Update with next development version Jul 3, 2018
camel-example-spring-boot-geocoder Fixed CS Jul 16, 2018
camel-example-spring-boot-grpc Update with next development version Jul 3, 2018
camel-example-spring-boot-health-checks Update with next development version Jul 3, 2018
camel-example-spring-boot-infinispan Update with next development version Jul 3, 2018
camel-example-spring-boot-master Update with next development version Jul 3, 2018
camel-example-spring-boot-metrics Update with next development version Jul 3, 2018
camel-example-spring-boot-pojo Update with next development version Jul 3, 2018
camel-example-spring-boot-rest-jpa Update with next development version Jul 3, 2018
camel-example-spring-boot-rest-swagger Update with next development version Jul 3, 2018
camel-example-spring-boot-servicecall Update with next development version Jul 3, 2018
camel-example-spring-boot-supervising-route-controller Update with next development version Jul 3, 2018
camel-example-spring-boot-xml Update with next development version Jul 3, 2018
camel-example-spring-boot Update with next development version Jul 3, 2018
camel-example-spring-cloud-servicecall Update with next development version Jul 3, 2018
camel-example-spring-cloud-serviceregistry Update with next development version Jul 3, 2018
camel-example-spring-javaconfig Update with next development version Jul 3, 2018
camel-example-spring-jms Update with next development version Jul 3, 2018
camel-example-spring-security Update with next development version Jul 3, 2018
camel-example-spring-ws Update with next development version Jul 3, 2018
camel-example-spring-xquery Update with next development version Jul 3, 2018
camel-example-spring Update with next development version Jul 3, 2018
camel-example-sql-blueprint Update with next development version Jul 3, 2018
camel-example-ssh-security Update with next development version Jul 3, 2018
camel-example-ssh Update with next development version Jul 3, 2018
camel-example-swagger-cdi Update with next development version Jul 3, 2018
camel-example-swagger-osgi Update with next development version Jul 3, 2018
camel-example-swagger-xml Update with next development version Jul 3, 2018
camel-example-tracer Update with next development version Jul 3, 2018
camel-example-transformer-blueprint Update with next development version Jul 3, 2018
camel-example-transformer-cdi Update with next development version Jul 3, 2018
camel-example-transformer-demo Update with next development version Jul 3, 2018
camel-example-twitter-salesforce Update with next development version Jul 3, 2018
camel-example-twitter-websocket-blueprint Update with next development version Jul 3, 2018
camel-example-twitter-websocket Update with next development version Jul 3, 2018
camel-example-validator-spring-boot Update with next development version Jul 3, 2018
camel-example-widget-gadget-cdi Update with next development version Jul 3, 2018
camel-example-widget-gadget-java Update with next development version Jul 3, 2018
camel-example-widget-gadget-xml Update with next development version Jul 3, 2018
camel-example-zipkin Update with next development version Jul 3, 2018
README.adoc Examples regen Jul 10, 2018
pom.xml Add camel-fhir OSGi example Jul 18, 2018

README.adoc

Welcome to the Apache Camel Examples

Introduction

This directory contains the various examples for working with Apache Camel. The examples can be run using Maven. When using the Maven command, Maven will attempt to download the required dependencies from a central repository to your local repository. View the individual example READMEs for details.

Examples

Number of Examples: 105 (8 deprecated)

Example Category Description

FHIR (camel-example-fhir)

An example running Camel FHIR using Camel CDI

Micrometer (camel-example-micrometer)

Advanced

An example showing how to work with Camel, Spring Java Config and Micrometer monitoring

CDI (camel-example-cdi)

Beginner

An example showing how to work with Camel and CDI for dependency injection

CDI Properties (camel-example-cdi-properties)

Beginner

DeltaSpike configuration properties CDI example

CDI Camel XML (camel-example-cdi-xml)

Beginner

CDI and Camel XML example

Console (camel-example-console)

Beginner

An example that reads input from the console

FTP (camel-example-ftp)

Beginner

An example for showing Camel FTP integration

Java8 (camel-example-java8)

Beginner

An example for showing Camel DSL for Java 8

POJO Routing (camel-example-pojo-messaging)

Beginner

An example showing how to produce and consume messages from Camel endpoints using annotated POJOs

Reload (camel-example-reload)

Beginner

An example that live reloads routes when the XML file is updated

REST Swagger (camel-example-rest-swagger)

Beginner

This example shows how to call a REST service defined using Swagger specification

Servlet Tomcat (camel-example-servlet-tomcat)

Beginner

An example using Camel Servlet with Apache Tomcat

Servlet Tomcat without Spring (camel-example-servlet-tomcat-no-spring)

Beginner

An example using Camel Servlet with Apache Tomcat without using Spring

Spring (camel-example-spring)

Beginner

An example showing how to work with Camel and Spring

Spring Boot (camel-example-spring-boot)

Beginner

An example showing how to work with Camel and Spring Boot

Spring Boot Health Checks (camel-example-spring-boot-health-checks)

Beginner

An example showing how to work with Camel’s Health Checks and Spring Boot

Spring Boot Pojo (camel-example-spring-boot-pojo)

Beginner

An example showing how to work with Camel POJO routing with Spring Boot

Spring Boot XML (camel-example-spring-boot-xml)

Beginner

An example showing how to work with Camel routes in XML files and Spring Boot

Spring Java Config (camel-example-spring-javaconfig)

Beginner

An example showing how to work with Camel and Spring Java Config

Spring XQuery (camel-example-spring-xquery)

Beginner

An example using Spring XML to transform a message using XQuery

Widget Gadget CDI (camel-example-widget-gadget-cdi)

Beginner

The widget and gadget example from the EIP book

Widget Gadget Java (camel-example-widget-gadget-java)

Beginner

The widget and gadget example from the EIP book

Widget Gadget XML (camel-example-widget-gadget-xml)

Beginner

The widget and gadget example from the EIP book

Cassandra Kubernetes (camel-example-cassandra-kubernetes)

Cloud

An example with Camel and Cassandra running on Kubernetes

CDI AWS S3 (camel-example-cdi-aws-s3)

Cloud

AWS S3 CDI example

CDI Kubernetes (camel-example-cdi-kubernetes)

Cloud

An example running Camel CDI on Kubernetes

gRPC Kubernetes (camel-example-grpc-kubernetes)

Cloud

An example showing the Camel gRPC component with Spring Boot running on Kubernetes

Hazelcast Kubernetes (camel-example-hazelcast-kubernetes)

Cloud

An example with Camel and Hazelcast running on Kubernetes

gRPC Spring Boot (camel-example-spring-boot-grpc)

Cloud

An example showing the Camel gRPC component with Spring Boot

Spring Boot Infinispan (camel-example-spring-boot-infinispan)

Cloud

An example showing the Camel Infinispan component with Spring Boot

Spring Boot ServiceCall (camel-example-spring-boot-servicecall)

Cloud

An example showing how to work with Camel ServiceCall EIP and Spring Boot

Spring Cloud Servicecall (camel-example-spring-cloud-servicecall)

Cloud

An example showing how to work with Camel ServiceCall EIP and Spring Cloud

Spring Cloud ServiceRegistry (camel-example-spring-cloud-serviceregistry)

Cloud

An example showing how to work with Camel Service registry and Spring Cloud

Spring Boot Clustered Route Controller (camel-example-spring-boot-clustered-route-controller)

Clustering

An example showing how to work with Camel’s Clustered Route Controller and Spring Boot

Spring Boot Master (camel-example-spring-boot-master)

Clustering

An example showing how to work with Camel’s Master component and Spring Boot

CDI Cassandra (camel-example-cdi-cassandraql)

Database

Cassandraql CDI example

JDBC (camel-example-jdbc)

Database

An example for showing Camel using JDBC component

MyBatis (camel-example-mybatis)

Database

An example for showing Camel using MyBatis SQL mapper component

Spring Boot REST JPA (camel-example-spring-boot-rest-jpa)

Database

An example demonstrating how to use Camel REST DSL with JPA to expose a RESTful API that performs CRUD operations on a database

Aggregate (camel-example-aggregate)

EIP

Demonstrates the persistent support for the Camel aggregator

Cafe (camel-example-cafe)

EIP

A cafe example showing how to work with Camel

Hystrix (camel-example-hystrix)

EIP

An example showing how to use Hystrix EIP as circuit breaker in Camel routes

Load Balancing (camel-example-loadbalancing)

EIP

An example that demonstrate load balancing messaging with mina servers (TCP/IP)

Loan Broker WebService (camel-example-loan-broker-cxf)

EIP

An example that shows the EIP’s loan broker demo

Loan Broker JMS (camel-example-loan-broker-jms)

EIP

An example that shows the EIP’s loan broker demo using JMS

Route Throttling (camel-example-route-throttling)

EIP

A client-server example using JMS transport where we on the server side can throttle the Camel route dynamically based on the flow of messages

Transformer OSGi Blueprint (camel-example-transformer-blueprint)

Input/Output Type Contract

An example demonstrating declarative transformation along data type declaration using OSGi Blueprint XML

Transformer CDI (camel-example-transformer-cdi)

Input/Output Type Contract

An example demonstrating declarative transformation along data type declaration using Java DSL and CDI

Transformer and Validator Spring XML (camel-example-transformer-demo)

Input/Output Type Contract

An example demonstrating declarative transformation and validation along data type declaration using Spring DSL

Validator Spring Boot (camel-example-validator-spring-boot)

Input/Output Type Contract

An example showing how to work with declarative validation and Spring Boot

BAM (deprecated) (camel-example-bam)

Management and Monitoring

deprecated An example showing how to use Camel as a Business Activity Monitoring tool

CDI Metrics (camel-example-cdi-metrics)

Management and Monitoring

Dropwizard Metrics CDI example

JMX (camel-example-jmx)

Management and Monitoring

An example showing how to work with Camel and JMX

Management (camel-example-management)

Management and Monitoring

An example for showing Camel JMX management

OpenTracing (camel-example-opentracing)

Management and Monitoring

An example showing how to trace incoming and outgoing messages from Camel with OpenTracing

Splunk (camel-example-splunk)

Management and Monitoring

An example using Splunk

Spring Boot Metrics (camel-example-spring-boot-metrics)

Management and Monitoring

An example showing how to work with Camel and Spring Boot and report metrics to Graphite

Spring Boot Supervising Route Controller (camel-example-spring-boot-supervising-route-controller)

Management and Monitoring

An example showing how to work with Camel’s Supervising Route Controller and Spring Boot

Tracer (camel-example-tracer)

Management and Monitoring

deprecated An example showing how to persist Camel trace event messages using JPA

Zipkin (camel-example-zipkin)

Management and Monitoring

An example showing how to trace incoming and outgoing messages from Camel with Zipkin

ActiveMQ Tomcat (camel-example-activemq-tomcat)

Messaging

An example using ActiveMQ Broker and Camel with Apache Tomcat

Artemis Amqp Blueprint (camel-example-artemis-amqp-blueprint)

Messaging

Demonstrates ActiveMQ Artemis using Camel’s AMQP component. The example includes a JUnit showcasing how to embed for testing an AMQP enabled Artemis broker.

Artemis Large Messages (camel-example-artemis-large-messages)

Messaging

Demonstrates sending large messages (handles GBs in size) between Apache Camel and ActiveMQ Artemis in streaming mode

Google Pubsub (camel-example-google-pubsub)

Messaging

An example for Google Pubsub

Guice JMS (camel-example-guice-jms)

Messaging

deprecated An example showing how to work with Camel, Guice and JMS

JMS-File (camel-example-jms-file)

Messaging

An example that persists messages from JMS to files

Kafka (camel-example-kafka)

Messaging

An example for Kafka

Netty Custom Correlation (camel-example-netty-custom-correlation)

Messaging

An example for showing Camel Netty with custom codec and correlation id

Rabbitmq (camel-example-rabbitmq)

Messaging

An example showing how to work with Camel and RabbitMQ

Spring Boot Activemq (camel-example-spring-boot-activemq)

Messaging

An example showing how to work with Camel, ActiveMQ and Spring Boot

Spring JMS (camel-example-spring-jms)

Messaging

An example using Spring XML to talk to the JMS server from different kind of client techniques

CDI OSGi (camel-example-cdi-osgi)

OSGi

deprecated PAX CDI example

CXF Blueprint (camel-example-cxf-blueprint)

OSGi

An example which use a CXF consumer and the OSGI HTTP Service

Netty HTTP (camel-example-netty-http)

OSGi

An example showing how to use a shared Netty HTTP server with multiple Camel applications in OSGi container

Olingo4 Blueprint (camel-example-olingo4-blueprint)

OSGi

An example which use the Olingo4 component in Blueprint

Servlet REST Blueprint (camel-example-servlet-rest-blueprint)

OSGi

An example using Servlet REST with OSGi Blueprint

SQL Blueprint (camel-example-sql-blueprint)

OSGi

An example for showing Camel using SQL component with blueprint

SSH (camel-example-ssh)

OSGi

A simple SSH example which creates a bundle that can be dropped into any OSGi container

SSH Security (camel-example-ssh-security)

OSGi

A Certificate secured SSH example that creates a bundle that can be dropped into any OSGi container

Swagger OSGi (camel-example-swagger-osgi)

OSGi

An example using REST DSL in XML and Swagger API

Groovy (camel-example-groovy)

Other Languages

deprecated A Camel route using Groovy DSL

Kotlin (camel-example-kotlin)

Other Languages

A Camel route using Kotlin

Scala (camel-example-scala)

Other Languages

deprecated A Camel route using Scala

Java8 RX (camel-example-java8-rx)

Reactive

An example for showing Camel RX for Java 8

Reactive Streams (camel-example-reactive-streams)

Reactive

An example that shows how Camel can exchange data using reactive streams with Spring Boot reactor

CDI Rest (camel-example-cdi-rest-servlet)

Rest

REST DSL / Servlet with CDI example

Rest Producer (camel-example-rest-producer)

Rest

An example showing how to use Camel Rest to call a REST service

Restlet JDBC (camel-example-restlet-jdbc)

Rest

An example showing how to create REST API with Camel Restlet and JDBC components

Spark REST (camel-example-spark-rest)

Rest

An example using Spark REST

Spring Boot Geocoder (camel-example-spring-boot-geocoder)

Rest

An example showing the Camel Geocoder component via REST DSL with Spring Boot

Spring Boot Rest Swagger (camel-example-spring-boot-rest-swagger)

Rest

An example showing Camel REST DSL and Swagger with Spring Boot

Swagger CDI (camel-example-swagger-cdi)

Rest

An example using REST DSL and Swagger Java with CDI

Swagger XML (camel-example-swagger-xml)

Rest

An example using REST DSL in XML and Swagger with Swagger UI (web console)

Spring Security (camel-example-spring-security)

Security

An example showing how to work with Camel and Spring Security

JIRA Bot (camel-example-simplejirabot)

Social

An example showing how to work with RSS and IRC endpoints

Twitter Salesforce (camel-example-twitter-salesforce)

Social

Twitter mentions is created as contacts in Salesforce

Twitter Websocket (camel-example-twitter-websocket)

Social

An example that pushes new tweets to a web page using web-socket

Twitter Websocket Blueprint (camel-example-twitter-websocket-blueprint)

Social

An example that pushes new tweets to a web page using web-socket

CDI Test (camel-example-cdi-test)

Testing

An example illustrating Camel CDI testing features

Report Incident (camel-example-reportincident)

Tutorial

deprecated An example based on real life use case for reporting incidents using webservice that are transformed and send as emails to a backing system

Report Incident WS-Security (camel-example-reportincident-wssecurity)

Tutorial

deprecated An example based on real life use case for reporting incidents using webservice that are transformed and send as emails to a backing system. Client calling the WebService is authentified through WS-Security

CXF (camel-example-cxf)

WebService

An example which demonstrates the use of the Camel CXF component

CXF Proxy (camel-example-cxf-proxy)

WebService

An example which uses Camel to proxy a web service

CXF Tomcat (camel-example-cxf-tomcat)

WebService

An example using Camel CXF (code first) with Apache Tomcat

Spring WebService (camel-example-spring-ws)

WebService

An example showing how to work with Camel and Spring Web Services

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html

Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!

The Camel riders!