Space Index

0-9 ... 0 A ... 10 B ... 27 C ... 45 D ... 19 E ... 21
F ... 8 G ... 10 H ... 46 I ... 14 J ... 17 K ... 0
L ... 11 M ... 20 N ... 3 O ... 3 P ... 17 Q ... 3
R ... 18 S ... 33 T ... 24 U ... 8 V ... 4 W ... 16
X ... 9 Y ... 0 Z ... 2 !@#$ ... 0    

0-9

A

Acknowledgment
Many thanks to the following organizations for helping the Camel project. !http://www.structure101.com/structure101java/images/webapp.gif! Headway Software http://www.headwaysoftware.com/ provided free licenses of Structure101 http://www.headwaysoftware.com/products/structure101/index.php for analyzing and managing the architecture of Camel http://www.structure101.com/structure101java/tracker/camel/1.2.0/summary.html ...
ActiveMQ
ActiveMQ Component The ActiveMQ component allows messages to be sent to a JMS http://java.sun.com/products/jms/ Queue or Topic; or messages to be consumed from a JMS Queue or Topic using Apache ActiveMQ http://activemq.apache.org/ The most popular and powerful open source ...
ActiveMQ Journal
ActiveMQ Journal Component The ActiveMQ Journal Component allows messages to be stored in a rolling log file and then consumed from that log file. The journal aggregates and batches up concurrent writes so that to overhead of writing and waiting for the disk sync is relatively constant ...
Aggregator
Aggregator The Aggregator http://www.enterpriseintegrationpatterns.com/Aggregator.html from the EIP patterns Enterprise Integration Patterns allows you to combine a number of messages together into a single message. !http://www.enterpriseintegrationpatterns.com/img/Aggregator.gif! A correlation Expression is used to determine the messages which should ...
AMQP
AMQP The AMQP component supports the AMQP protocol http://www.amqp.org/ via the Qpid http://cwiki.apache.org/qpid/ project. URI format amqp:queue:topic:destinationName?option1=value&option2=value2 You can specify all of the various configuration ...
Annotation Based Expression Language
Annotation Based Expression Language You can also use any of the Languages supported in Camel to bind expressions to method parameters when using Bean Integration. For example you can use any of these annotations: Annotation Description @Bean http ...
Architecture
Architecture Camel uses a Java based Routing Domain Specific Language (DSL) DSL or an Xml Configuration to configure routing and mediation rules Routes which are added to a CamelContext http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache ...
Artix Data Services
Artix Data Services The Artix DS Data Format supports the Artix Data Services (ADS) http://www.iona.com/artix/ds product which provides a framework for reading and writing a huge number of vertical message payloads like SWIFT, SEPA ...
Asynchronous Processing
Asynchronous Processing Overview Camel supports a more complex asynchronous processing model. The asynchronous processors implement the AsyncProcessor interface which is derived from the more synchronous Processor interface. There are advantages and disadvantages when using asynchronous processing when compared ...
Atom
Atom Component The atom: component is used for polling atom feeds. Camel will default poll the feed every 60th seconds. Note: The component currently only supports polling (consuming) feeds. URI format atom://atomUri Where atomUri is the URI ...

B

BAM
Business Activity Monitoring The Camel BAM module provides a Business Activity Monitoring (BAM) framework for testing business processes across multiple message exchanges on different Endpoint instances. For example if you have a simple system which you submit ...
BAM Example
Business Activity Monitor (BAM) Example The BAM (Business Activity Monitor) example shows how to monitor your transaction flows using Camel. In this example we will use Camel to monitor a business process consisting of purchase orders invoices Then we ...
Banner
div id="asflogo" style="height:108px; background:transparent url(banner.data//partofactivemq.png) norepeat scroll right center;">

C

Camel 1.0.0 Release
http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the first 1.0.0 release packed with features, Enterprise Integration Patterns, great support for Spring and a whole host of Components. Saddle up and take Camel for a ride! Getting the Binary Distributions ...
Camel 1.1.0 Release
http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 1.1.0 release which includes a number of new features, improvements and bug fixes. hugely improved Bean Integration to work nicely with beans and Camel; making Camel even less ...
Camel 1.2.0 Release
http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 1.2.0 release which includes 61 new features, improvements and bug fixes such as... Data Format to support pluggable marshalling and unmarshalling of data in various formats like JAXB, XMLBeans ...
Camel 1.3.0 Release
http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 1.3.0 release which includes 208 new features, improvements and bug fixes such as... improved Bean Integration improved testing via Spring Testing along with the Mock, Test, DataSet ...
Camel 1.4.0 Release
Camel 1.4.0 release !http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 1.4.0 release which includes 261 new features, improvements and bug fixes such as... major improvements in JMS and Mail components major improvements in Camel JMX ...
Camel 1.5.0 Release
Camel 1.5.0 release !http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 1.5.0 release which approx 266 issues resolved (new features, improvements and bug fixes such as...) support for Guice for dependency injection along with a new Guice ...
Camel 1.5.1 Release
Camel 1.5.1 release (Work in progress) !http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 1.5.1 release which approx XXX issues resolved (new features, improvements and bug fixes such as...) RedeliveryPolicy added support for ref attribute ...
Camel 2.0 Design
Camel 2.0 Design This wiki page lists the overall goals of the 2.0 release of Camel. For a detailed view see the Camel 2.0 JIRA roadmap http://issues.apache.org/activemq/secure/IssueNavigator.jspa?reset=true&pid=11020&fixfor=11900 Main features ...
Camel 2.0.0 Release
Camel 2.0.0 release (Work in progress) !http://activemq.apache.org/camel/download.data/camelboxv1.0150x200.png! New and Noteworthy Welcome to the 2.0.0 release which approx XXX issues resolved (new features, improvements and bug fixes such as...) Introduced type converter registry Type ...
Camel CXF Design
Camel CXF Design Integrating CXF into Camel Camel provides a component API , after defined the endpoint URI format CXF, we just need implement the Camel component API by using CXF as a library to create the client and server for camelcxf ...
Camel Dot Maven Goal
camel:dot The camel:dot goal of the Camel Maven Plugin is used to generate Visualisation diagrams for your Enterprise Integration Patterns. It works like camel:embedded Camel Embedded Maven Goal, it will boot up your Spring configuration but it will only ...
Camel Embedded Maven Goal
camel:embedded The camel:embedded goal of the Camel Maven Plugin is used to run your Camel Spring configurations in the same JVM as Maven, so it should startup a bit faster than camel:run Camel Run Maven Goal. Though ...
Camel Endpoint Questions
Questions on using the various Camel Components and Endpoint implementations
Camel JMX
Camel JMX Apache Camel has extensive support for JMX to allow you to monitor and control the Camel managed objects a JMX client. Spring Dependency springcontext.jar is needed on the classpath by Camel to be able to use JMX instrumentation. If this .jar is not on the classpath Camel ...
Camel Maven Archetypes
Camel Maven Archetypes Camel is distributed with the following archetypes for Maven end users. Archetype Supported Archetype Description camelarchetypeactivemq This archetype is used to create a new Maven project for Camel routes. You can use this quickly to get up to speed ...
Camel Maven Plugin
Camel Maven Plugin The Camel Maven Plugin http://activemq.apache.org/camel/maven/mavenplugins/camelmavenplugin/plugininfo.html allows you to run your Enterprise Integration Patterns using Spring for Dependency Injection inside Maven along with being able to support ...
Camel Run Maven Goal
camel:run The camel:run goal of the Camel Maven Plugin is used to run your Camel Spring configurations in a forked JVM from Maven. A good example application to get you started is the Spring Example. cd examples/camelexamplespring mvn ...
Camel Test
Camel Test As a simple alternative to using Spring Testing or Guice the cameltest module was introduced into the Camel 2.0 trunk so you can perform powerful Testing of your Enterprise Integration Patterns easily. Adding to your pom.xml To get started ...
Camel Transport for CXF
What's the Camel Transport for CXF In CXF you offer or consume a webservice by defining it´s address. The first part of the address specifies the protocol to use. For example address="http://localhost:90000" in an endpoint configuration means your service will be offered using ...
Camel-Core
page is work in progress. The layering is probably not yet correct Camelcore is the basic module of apache camel. It contains the public API and the Java DSL and several implementation packages. The most important packages are: Package Name Description builder The Camel Domain Specific ...
CamelContext
CamelContext The CamelContext http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/CamelContext.html represents a single Camel routing rulebase. You use the CamelContext in a similar way to the Spring ApplicationContext http://static.springframework.org/spring/docs/2.0.x/api ...
Can I get commercial support
Can I get commercial support? Absolutely, see our Support page for more details
Can I use Camel on Java 1.4
Can I use Camel on Java 1.4 Apache Camel is developed to run on Java 5 or later to take advantage of the new language features like generics and annotations together with using the Java 5 concurrency code. If you absolutely must ...
Code Walkthrough
Code Walkthrough The main module to get to grips with is the camelcore http://activemq.apache.org/camel/maven/camelcore/ module which defines the core APIs and the DSL. Often developers pick up libraries by looking at test cases. Probably the best test cases ...
Cometd
Cometd Component The cometd: component is a transport for working with the jetty http://www.mortbay.org/jetty implementation of the cometd/bayeux protocol http://docs.codehaus.org/display/JETTY/Cometd%28akaBayeux%29. Using this component in combination with the dojo toolkit library it's possible to push Camel ...
Common Problems
Common Problems that people have when riding the Camel
Community
Competing Consumers
Competing Consumers Camel supports the Competing Consumers http://www.enterpriseintegrationpatterns.com/CompetingConsumers.html from the EIP patterns Enterprise Integration Patterns using a few different components. !http://www.enterpriseintegrationpatterns.com/img/CompetingConsumers.gif! You can use the following components to implement competing ...
Component
Components A Component is essentially a factory of Endpoint instances. You can explicitly configure Component instances and add them to a CamelContext http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/CamelContext.html in an IoC container like Spring ...
Component List
Component / ArtifactId / URI Description ActiveMQ / activemqcamel activemq:topic:destinationName For JMS Messaging with Apache ActiveMQ http://activemq.apache.org/ The most popular and powerful open source message broker ActiveMQ Journal / activemqcore activemq.journal:directoryonfilesystem Uses ActiveMQ's fast ...
Components
Components Supported Camel supports the following Component implementations via URIs. See Also Component Endpoint URIs Writing Components How do I add a component How do I configure endpoints
Configuring Camel
Constant
Constant Expression Language The Constant Expression Language is really just a way to specify constant strings as a type of expression. Available as of Camel 1.5 Example usage The setHeader element of the Spring DSL can utilize a constant expression like: Content Based Router
Content Based Router The Content Based Router http://www.enterpriseintegrationpatterns.com/ContentBasedRouter.html from the EIP patterns Enterprise Integration Patterns allows you to route messages to the correct destination based on the contents of the message exchanges. !http://www.enterpriseintegrationpatterns.com/img/ContentBasedRouter.gif! The following ...
Content Enricher
Content Enricher Camel supports the Content Enricher http://www.enterpriseintegrationpatterns.com/DataEnricher.html from the EIP patterns Enterprise Integration Patterns using a Message Translator or by using an artibrary Processor in the routing logic to enrich the message. !http://www.enterpriseintegrationpatterns.com/img/DataEnricher.gif ...
Content Filter
Content Filter Camel supports the Content Filter http://www.enterpriseintegrationpatterns.com/ContentFilter.html from the EIP patterns Enterprise Integration Patterns using one of the following mechanisms in the routing logic to transform content from the inbound message. Message Translator invoking a Java ...
Contributing
many ways you can help make Camel a better piece of software please dive in and help\! Try surf the documentation if somethings confusing or not clear, let us know. Download the code & try it out and see what you think ...
Cookbook
document describes various recipes for working with Camel Bean Integration describes how to work with beans and Camel in a loosely coupled way so that your beans do not have to depend on any Camel APIs Annotation Based Expression Language binds ...
Correlation Identifier
Correlation Identifier Camel supports the Correlation Identifier http://www.enterpriseintegrationpatterns.com/CorrelationIdentifier.html from the EIP patterns Enterprise Integration Patterns by getting or setting a header on a Message. When working with the ActiveMQ or JMS components the correlation identifier header is called JMSCorrelationID. You ...
Creating a new Camel Component
Creating a new Camel Component If you want to create your own version of the Camel Component you can use the maven archetype. mvn archetype:create \ DarchetypeGroupId=org.apache.camel \ DarchetypeArtifactId=camelcomponent \ DarchetypeVersion=1.1.0 \ DgroupId=myGroupId \ DartifactId=myArtifactId ...
Creating a new Spring based Camel Route
Creating a new Spring based Camel Route If you want to create your own version of the Spring Example you can use the maven archetype. mvn archetype:generate \ DarchetypeGroupId=org.apache.camel.archetypes \ DarchetypeArtifactId=camelarchetypespring \ DarchetypeVersion=1.5.0 \ DgroupId=myGroupId ...
CSV
CSV The CSV Data Format uses Apache Commons CSV http://commons.apache.org/sandbox/csv/ to handle CSV payloads (Comma Separated Values) such as those exported/imported by Excel. Marshalling a Map to CSV The component allows you to marshal a Java ...
Customizing XML
Customizing the XML The Xml Configuration is defined by JAXB POJOs in the org.apache.camel.model. package and its sub packages. If you are adding a new class you must edit the jaxb.index file to add the class name! (One day we could hopefully have ...
CXF
CXF Component The cxf: component provides integration with Apache CXF http://incubator.apache.org/cxf/ for connecting to JAXWS services hosted in CXF. Maven users will need to add the following dependency to their pom.xml for this component: org.apache.camel camelcxf ...
CXF Example
CXF Example CXF example for routing messages with different transports The Camel CXF example http://tinyurl.com/6ncmxy is a demo of the camelcxf component to show how to route messages between CXF endpoints, with one endpoint consuming a SOAP over HTTP ...

D

Data Format
Data Format Camel supports a pluggable DataFormat http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/spi/DataFormat.html to allow messages to be marshalled to and from binary or text formats to support a kind of Message Translator. The following data ...
Database
Database Camel can work with databases in a number of different ways. This document tries to outline the most common approaches. Database endpoints Camel provides a number of different endpoints for working with databases JPA for working with hibernate, openjpa or toplink. When consuming ...
DataSet
DataSet Component The DataSet component (available since 1.3.0) provides a mechanism to easily perform load & soak testing of your system. It works by allowing you to create DataSet instances http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache ...
Dead Letter Channel
Dead Letter Channel Camel supports the Dead Letter Channel http://www.enterpriseintegrationpatterns.com/DeadLetterChannel.html from the EIP patterns Enterprise Integration Patterns using the DeadLetterChannel http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/processor/DeadLetterChannel.html ...
Debugger
Debugger Camel Debugger is much related to Tracer, in fact they are sisters. Debugger is a enhanced tracer with a debugger framework so that tooling can be developed to easily monitor Camel routes, trace messages and set breakpoints at points in a route etc. At the time of writing ...
Delay Interceptor
Delay Interceptor Available in Camel 1.5 The Delay interceptor is an route interceptor that is used for slowing processing of messages down. This allows you to enable this interceptor and set a fixed amount of delay between each step a message passes in the route path ...
Delayer
Delayer The Delayer Pattern allows you to delay the delivery of messages to some destination. Using the Fluent Builders So the above example will delay all messages received on queue:a until the JMSTimestamp plus 3 seconds before sending them to mock ...
Dependency Injection
Dependency Injection Dependency Injection or Inversion of Control is a pattern where dependencies of an object are injected into the object without the object being too aware of how the injection is performed. The two most popular Dependency Injection libraries available at the time of writing ...
Design Notes
following section contains design notes of the Apache Camel components Camel 2.0 Design Camel CXF Design
Developers
Developers The following section contains developer related links for Apache Camel
Difference between Camel and FUSE
What's the difference between Camel and FUSE? FUSE Mediation Router http://fusesource.com/products/enterprisecamel/ is based on Apache Camel to deliver a an easy way for integration engineers to build applications using EIPs. Consider what Red Hat has ...
Direct
Direct Component The direct: component provides direct, synchronous invocation of any consumers when a producer sends a message exchange. This endpoint can be used to connect existing routes or if a client in the same JVM as the Camel router wants to access the routes. The Seda ...
Discussion Forums
Discussion Forums Before posting you might want to read the Tips for getting help http://activemq.apache.org/tipsforgettinghelp.html. Many users prefer to use online forums rather than joining a mail list which can lead to lots more ...
Documentation
Documentation
Does Camel work on IBM's JDK?
Does Camel work on IBM's JDK? Yes, we've tested Camel with IBM's JDK on the AIX and Linux platforms. There are a few things to look out for though Exception using camelhttp You may get a sun.io.MalformedInputException when using camelhttp on IBM's ...
Download
Latest Releases !camelboxv1.0150x200.png! Grab these releases while they are hot! The latest release is Camel 1.5.0 Release. Getting the latest distributions Binary Distribution Description Download Link PGP Signature file of download Windows Distribution apachecamel1.5.0.zip http://www.apache.org/dyn ...
DSL
Java DSL Camel uses a Java Domain Specific Language or DSL for creating Enterprise Integration Patterns or Routes. Camel also supports a Spring based XML configuration Xml Configuration as well as a Scala DSL. The benefits of using the Java DSL ...
Durable Subscriber
Durable Subscriber Camel supports the Durable Subscriber http://www.enterpriseintegrationpatterns.com/DurableSubscription.html from the EIP patterns Enterprise Integration Patterns using the JMS component which supports publish & subscribe using Topics with support for nondurable and durable subscribers. !http://www.enterpriseintegrationpatterns.com ...
Dynamic Router
Dynamic Router The Dynamic Router http://www.enterpriseintegrationpatterns.com/DynamicRouter.html from the EIP patterns Enterprise Integration Patterns allows you to route messages while avoiding the dependency of the router on all possible destinations while maintaining its efficiency. !http://www.enterpriseintegrationpatterns.com ...

E

EDI
EDI DataFormat This component ships with a EDI dataformat that can be used to format from a {{java.io.InputStream}} to XML as a {{org.w3c.Document}} Object. marshal = currently not supported by Smooks http://milyn.codehaus.org/Home unmarshal = from stream to XML (can be used when reading EDI ...
EIP
EL
EL Camel supports the unified JSP and JSF Expression Language via the JUEL http://juel.sourceforge.net/ to allow an Expression or Predicate to be used in the DSL or Xml Configuration. For example you could use EL inside a Message Filter in XML Endpoint
Endpoints Camel supports the Message Endpoint pattern using the Endpoint http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/Endpoint.html interface. Endpoints are usually created by a Component and Endpoints are usually referred to in the DSL via their URIs. From ...
Endpoint See Also
See Also Configuring Camel Component Endpoint Getting Started
Enterprise Integration Patterns
Enterprise Integration Patterns Camel supports most of the Enterprise Integration Patterns http://www.enterpriseintegrationpatterns.com/toc.html from the excellent book by Gregor Hohpe http://www.amazon.com/exec/obidos/searchhandleurl/10597967988100401?%5Fencoding=UTF8&searchtype=ss&index=books&fieldauthor=Gregor%20Hohpe and Bobby ...
Error Handler
Error Handler Camel supports pluggable ErrorHandler http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/processor/ErrorHandler.html strategies to deal with errors processing an Event Driven Consumer. An alternative is to specify the error handling ...
Esper
Esper The Esper component supports the Esper Library http://esper.codehaus.org for Event Stream Processing. The camelesper library is provided by the Camel Extra http://code.google.com/p/camelextra/ project which hosts all GPL related components for Camel. URI format ...
ETL
Extract Transform Load (ETL) The ETL http://en.wikipedia.org/wiki/Extract,transform,load (Extract, Transform, Load) is a mechanism for loading data into systems or databases using some kind of Data Format from a variety of sources; often files then using ...
ETL Example
Extract Transform Load (ETL) Example The ETL (Extract, Transform, Load) example shows how to load data into a database using Camel. In this example we will poll for files, transform them and then store them in the database via the JPA component. Overview ...
Event
Event Component The event: component provides access to the Spring ApplicationEvent objects. This allows you to publish ApplicationEvent objects to a Spring ApplicationContext or to consume them. You can then use Enterprise Integration Patterns to process them such as Message Filter. URI format ...
Event Driven Consumer
Event Driven Consumer Camel supports the Event Driven Consumer http://www.enterpriseintegrationpatterns.com/EventDrivenConsumer.html from the EIP patterns Enterprise Integration Patterns. The default consumer model is event based (i.e. asynchronous) as this means that the Camel container can then manage pooling ...
Event Message
Event Message Camel supports the Event Message http://www.enterpriseintegrationpatterns.com/EventMessage.html from the EIP patterns Enterprise Integration Patterns by supporting the Exchange Pattern on a Message which can be set to InOnly to indicate a oneway event message. Camel Components then implement ...
Examples
Examples Once you have read about Getting Started and looked at the Enterprise Integration Patterns you might want to try out some examples. Before starting to work on example you may want to check the requirements for working with Camel ...
Exception - javax.naming.NoInitialContextException
Exception: javax.naming.NoInitialContextException If you try to use Camel without Spring using code something like this CamelContext context = new DefaultCamelContext(); context.addRoutes(new MyRouteBuilder()); context.start(); You might get an exception like this java Caused by: javax.naming.NoInitialContextException: Need ...
Exception - org.apache.camel.NoSuchEndpointException
Exception: org.apache.camel.NoSuchEndpointException The usual cause for this Exception is a missing component JAR on the classpath. The exception detail message will tell you what the missing component is. You can solve the issue by adding the required JAR files to the classpath. An example: If you try ...
Exception - org.xml.sax.SAXParseException
Exception: org.xml.sax.SAXParseException The reference to entity "..." must end with the ';' delimiter. In the URIs used for specifying Camel endpoints, the & is used to separate the parameters. However, & also is a reserved character in XML. Because of this, you have to replace all & in your URIs ...
Exception Clause
Exception Clause You can use the Exception Clause in the Java DSL to specify the error handling you require on a per type basis using the exception() method. For example if you want to perform a specific piece of processing if a certain exception is raised ...
Exchange
Message Exchange To support various message exchange patterns Exchange Pattern like one way Event Message and Request Response messages Camel uses an Exchangehttp://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/Exchange.html ...
Exchange Pattern
Exchange Pattern There are many different Message Exchange Patterns you can use in messaging. This concept is also demonstrated in WSDL and JBI's MEPs. From there Enterprise Integration Patterns the common examples are Request Reply Event Message (or one way) In Camel ...
Expression
Expressions To support dynamic rules Camel supports pluggable Expression http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/Expression.html strategies using a variety of different Languages. The following languages are supported out of the box Expressions and Predicates ...

F

FAQ
FAQ Here are a list of commonly asked questions and answers. If you have any questions which are not on this list, please talk to us on the Forums Discussion Forums. We welcome contributions http://activemq.apache.org/contributing.html and this entire website is a wiki that you can ...
File
File Component The File component provides access to file systems; allowing files to be processed by any other Camel Components or messages from other components can be saved to disk. URI format file:fileOrDirectoryName?options or file://fileOrDirectoryName?options ...
File Language
File Expression Language Available as of Camel 1.5 The File Expression Language is an extension to the Simple language, adding file related capabilities. These capabilities is related to common use cases working with file path and names. The goal is to allow expression to be used ...
FIX
FIX The FIX component supports the FIX protocol http://en.wikipedia.org/wiki/FIXprotocol by using the QuickFix/J library http://www.quickfixj.org/. URI format fix://configurationResource Where configurationResource points to the QuickFix/J configuration file to define how to connect ...
Flatpack
Flatpack Component The Flatpack component supports fixed width and delimited file parsing via the FlatPack library http://flatpack.sourceforge.net. Notice: This component only supports consuming from flatpack files to Object model. You can not (yet) write from ...
Flatpack DataFormat
Flatpack DataFormat The Flatpack component ships with the Flatpack data format that can be used to format between fixed width or delimited text messages to a List of rows as Map. marshal = from {{List>}} to {{OutputStream}} (can be converted to String ...
Fluent Builders
Fluent Builders Camel provides fluent builders for creating routing and mediation rules using a typesafe IDE friendly way which provides smart completion and is refactoring safe. For more information see Java Domain Specific Language DSL Xml ...
FTP
FTP/SFTP Component This component provides access to remote file systems over the FTP and SFTP protocols. URI format ftp://username@hostname:port/filename?options sftp://username@hostname:port/filename?options Where filename represents the underlying file ...

G

General Questions
General questions about Camel
Getting Started
Getting Started First you need to Download the Camel distribution; or you could grab the Source and try Building it yourself. You might want to read the following documentation before continuing: Longer Getting Started Guide Book Getting Started ...
Groovy
Groovy Camel supports Groovy http://groovy.codehaus.org/ among other Scripting Languages to allow an Expression or Predicate to be used in the DSL or Xml Configuration. To use a Groovy expression use the following Java code ... groovy("someGroovyExpression") ... For example you could ...
Guaranteed Delivery
Guaranteed Delivery Camel supports the Guaranteed Delivery http://www.enterpriseintegrationpatterns.com/GuaranteedMessaging.html from the EIP patterns Enterprise Integration Patterns using the following components File for using file systems as a persistent store of messages JMS when using persistent delivery ...
Guice
Camel Guice As of 1.5 we now have support for Google Guice http://code.google.com/p/googleguice/ as a dependency injection framework. To use it just be dependent on camelguice.jar which also depends on the following jars http://activemq.apache.org/camel/maven/camelguice ...
Guice Dot Maven Goal
guice:dot The guice:dot goal of the Guice Maven Plugin is used to generate Visualisation diagrams for your Enterprise Integration Patterns which use Guice for their Dependency Injection framework. It works like guice:embedded Guice Embedded Maven Goal ...
Guice Embedded Maven Goal
guice:embedded The guice:embedded goal of the Guice Maven Plugin is used to run your Camel Guice configurations in the same JVM as Maven, so it should startup a bit faster than guice:run Guice Run Maven Goal. Though ...
Guice JMS Example
Guice JMS Example (from 1.5 onwards) The Guice JMS example is functionally similar to both the first example Walk through an Example and the Spring Example but using Guice as the Dependency Injection framework. In this example we just write RouteBuilder ...
Guice Maven Plugin
Guice Maven Plugin The Guice Maven Plugin http://activemq.apache.org/camel/maven/mavenplugins/guicemavenplugin/plugininfo.html allows you to run your Enterprise Integration Patterns using Guice for Dependency Injection inside Maven along with being able to support ...
Guice Run Maven Goal
guice:run The guice:run goal of the Guice Maven Plugin is used to run your Camel Guice configurations in a forked JVM from Maven. A good example application to get you started is the Guice JMS Example. cd examples/camelexampleguicejms ...

H

Header
Header Expression Language The Header Expression Language allows you to extract values of named headers. Available as of Camel 1.5 Example usage The recipientList element of the Spring DSL can utilize a header expression like: Hibernate
Hibernate Component The hibernate: component allows you to work with databases using Hibernate as the object relational mapping technology to map POJOs to database tables. The camelhibernate library is provided by the Camel Extra http://code.google.com/p/camelextra/ project which hosts ...
Hiding Middleware
When writing software these days, its important to try and decouple as much middleware code from your business logic as possible. This provides a number of benefits... you can choose the right middleware solution for your deployment and switch at any time ...
HL7
HL7 Component The hl7 component is used for working with the HL7 MLLP protocol and the HL7 model http://www.hl7.org/ using the HAPI library http://hl7api.sourceforge.net. This component supports the following: HL7 MLLP codec for Mina http://mina.apache.org/ Agnostic data format ...
HL7 DataFormat
HL7 DataFormat The HL7 component ships with a HL7 dataformat that can be used to format between String and HL7 model objects. marshal = from Message to byte stream (can be used when returning as response using the HL7 MLLP codec) unmarshal ...
How can I become a committer
How can I become a committer
How can I create a custom component or endpoint
How can I create a custom component or endpoint? Please read Writing Components for a background in how to implement a new component or endpoint. Its really easy to do! :) See Also Writing Components How do I add a component ...
How can I get help
How can I get the source code
How do I add a component
How do I add a component You might first want to read Writing Components for a background in how to implement a new component. Typically it means you write an implementation of the Component http://activemq.apache.org/camel/maven/camelcore/apidocs ...
How do I change the logging
How do I change the logging We use commonslogging http://jakarta.apache.org/commons/logging/ to log information in the broker client and the broker itself so you can fully configure the logging levels desired, whether to log to files or the console ...
How do I compile the code
How do I compile from the source code? See the Building page
How do I configure endpoints
How do I configure endpoints? There are a few different approaches to configuring components and endpoints. Using Java Code You can explicitly configure a Component using Java code as shown in this example Walk through an Example Or you can ...
How do I debug my route
How do I debug my route? If you've created a route and its not doing what you think it is you could try using one of these features from version 1.4 onwards Download Tracer to trace in commonslogging / log4j each ...
How do I disable JMX
How do I disable JMX? The easiest way to disable JMX support is via the useJmx property on the Camel Context element in your Spring XML ... How do I edit the website
How do I edit the website? The website is all contained on a Wiki so that you can contribute Contributing providing you are happy to license all your contributions under the Apache Software License version 2.0 http://www.apache.org/licenses/LICENSE2.0 ...
How do I enable debug logging
How do I enable debug logging? Camel uses convention over configuration so sometimes its useful to turn on debug logging to see how Camel is operating and to try and diagnose issues. To enable debug logging we recommend ...
How do I invoke Camel routes from JBI
How do I invoke Camel routes from JBI When you use the JBI endpoint as follows from("jbi:endpoint:http://foo.bar.org/MyService/MyEndpoint") you automatically expose the endpoint to the NMR bus where service qname ...
How do I retrieve the thrown Exception during processing an Exchange
How do I retrieve the thrown Exception during processing an Exchange You have send an Exchange to Camel but it fails during processing caused by a thrown Exception. How do I retrieve this Exception? If you are using CamelTemplate ...
How do I retry failed messages forever
How do I retry failed messages forever? If you want to keep the bad message in the original queue, then you are also blocking the messages that has arrived on the queue after the bad message. By default Camel will retry consuming a message up ...
How do I reuse the ContextTestSupport class in my unit tests
How do I reuse the ContextTestSupport class in my unit tests You might want to look at the various Testing options, in particular Camel Test and Spring Testing to see if those are better, more powerful options. We see ContextTestSupport ...
How do I run Camel using Java WebStart
How do I run Camel using Java WebStart? Camel 1.5 has support for starting using Java WebStart. However there is a restriction to not use the version attribute for camel jars. What you need to have in mind is that Camel will scan ...
How do I set the MEP when interacting with JBI?
Problem If you are using the Camel JBI integration to send a MessageExchange to another JBI component from within your Camel route, Camel uses the MEP of the underlying Camel Exchange to determine the MEP of the JBI MessageExchange. An example: from(""timer ...
How do I use Camel inside ServiceMix
How do I use Camel inside ServiceMix? See the Using Camel with ServiceMix tutorial http://servicemix.apache.org/3beginnerusingapachecamelinsideservicemix.html for an indepth walk through of using Camel to route inside the JBI based Normalized Message Bus
How do I use Java 1.4 logging
How do I use Java 1.4 logging? The quick way to enable Java 1.4 logging is to create a commonslogging.properties file on the classpath with this entry... org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger #org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger Many thanks to Glen Mazza for figuring this out
How do I use log4j
How do I use Log4j? The quick way to enable Log4j is to add log4j to your classpath or maven pom.xml. For example the following in your pom.xml should do the trick commonslogging commonslogging How do I use Spring Property Placeholder with Camel XML
How do I use Spring Property Placeholder with Camel XML We don't yet support the {{$\{something}}} notation inside arbitrary Camel XML. For example at the time of writing this is not supported How do I use URIs with parameters in XML
How do I use URIs with parameters in XML? If you try and use one of the Camel URIs in an Xml Configuration using the URI query parameter notation, such as How do I write a custom Processor which sends multiple messages
How do I write a custom Processor which sends multiple messages? You could use a Splitter or use multiple Message Translator instances in your route. Or you could write a custom processor which is injected with a ProducerTemplate instance ...
How do the direct, event, seda and vm endpoints compare
How do the direct, event, seda and vm endpoints compare? VM and SEDA endpoints are basically the same; they both offer asychronous in memory SEDA queues; they differ in visibility endpoints are visible inside the same JVM or within the same CamelContext respectively ...
How do the Timer and Quartz endpoints compare
How do the Timer and Quartz endpoints compare? Timer is a simple, non persistence timer using the JDK's in built timer mechanism. Quartz uses the Quartz library which uses a database to store timer events and supports distributed timers and cron ...
How does Camel compare to Mule
How does Camel compare to Mule? I guess from 30,000 feet they're kinda similar beasts Why the name Camel; they're both kinds of routing/mediation engines. The main differences are as follows Camel uses a Java Domain ...
How does Camel compare to ServiceMix
How does Camel compare to ServiceMix? Camel is smart routing and mediation engine which implements the Enterprise Integration Patterns and is designed to be used either inside an ESB like ServiceMix, in a Message Broker like ActiveMQ or in a smart endpoint or web ...
How does Camel compare to ServiceMix EIP
How does Camel compare to ServiceMix EIP ServiceMix EIP http://servicemix.apache.org/servicemixeip.html was the ancestor though they both do similar things. The main difference with ServiceMix EIP is its integrated into the existing ServiceMix XBean XML configuration whereas Camel ...
How does Camel compare to Synapse
How does Camel compare to Synapse? Camel is designed to work with pretty much all kinds of transport Components, in particular its been designed from the ground up to work nicely inside a web services stack CXF, JMS or inside ...
How does Camel look up beans and endpoints
How does Camel look up beans, components or endpoints? There are many times using Camel that a name is used for a bean such as using the Bean endpoint or using the Bean Language to create a Expression or Predicate or referring to any Component or Endpoint. Camel uses ...
How does Camel work
How does Camel work? Please see the Architecture for details of how things work
How does Camel work with ActiveMQ
How does Camel work with ActiveMQ? You can use Camel to do smart routing and implement the Enterprise Integration Patterns inside the ActiveMQ message broker the ActiveMQ JMS client So Camel can route messages to and from Mail ...
How does Camel work with ServiceMix
How does Camel work with ServiceMix? You can use Camel to do smart routing and implement the Enterprise Integration Patterns inside of the JBI container, routing between existing JBI components together with communicating with any of the other Camel Components ...
How does the Camel API compare to
How does the Camel API compare to from CXF, HTTP, JBI, JMS, JavaMail etc We have tried to make the Camel Exchange http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache/camel/Exchange.html and Message http ...
How does the website work
How does the website work This website is actually rendered from the Wiki contents that you can edit How do I edit the website. When viewing a page on the static HTML website you can click on the edit link (bottom ...
How should I invoke my POJOs or Spring Services
How should I invoke my POJOs or Spring Services? The various options are described in detail in Bean Integration, in particular the Bean Binding describes how we invoke a bean inside a route See the POJO Consuming for examples using either ...
How should I package applications using Camel and ActiveMQ
How to run Camel in a osgi container
Run Camel With ServiceMix Kernel Apache ServiceMix Kernel http://http://servicemix.apache.org/SMX4KNL/index.html is a small OSGi based runtime which provides a lightweight container onto which various bundles can be deployed. Now you can deploy ...
How to send the same message to multiple endpoints
How to send the same message to multiple endpoints When you need to send the same message to multiple endpoints then you should use Multicast. In the sample below we consume messages from the activemq queue {{foo}} and want to send the same ...
HTTP
HTTP Component The http: component provides HTTP based endpoints Endpoint for consuming external HTTP resources (as a client to call external servers using HTTP). URI format http:hostname:port/resourceUri?options Will default use port 80 ...

I

iBATIS
iBATIS The ibatis: component allows you to query, poll, insert, update and delete data in a relational database using Apache iBATIS http://ibatis.apache.org/. URI format ibatis:operationName Where operationName is the name in the iBATIS XML configuration file which ...
Idempotent Consumer
Idempotent Consumer The Idempotent Consumer http://www.enterpriseintegrationpatterns.com/IdempotentReceiver.html from the EIP patterns Enterprise Integration Patterns is used to filter out duplicate messages. This pattern is implemented using the IdempotentConsumer http://activemq.apache.org/camel/maven/camelcore/apidocs/org/apache ...