You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/06/24 10:19:24 UTC
svn commit: r867169 [3/5] - in /websites/production/camel/content:
book-component-appendix.html book-in-one-page.html cache/main.pageCache
ftp.html ftp2.html
Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Mon Jun 24 08:19:24 2013
@@ -35,6 +35,8 @@
</style>
<![endif]-->
+
+
<title>
Apache Camel: Book In One Page
</title>
@@ -52,8 +54,8 @@
<div class="content_r">
<div>
<!-- Banner -->
-<div id="banner-content">
- <div id="asf_logo">
+<div id="banner-content"><p>
+ </p><div id="asf_logo">
<div id="activemq_logo" style="height:108px; background:transparent url(banner.data/apache-camel-7.png) no-repeat scroll left top;">
<a shape="rect" style="float:left; width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px; margin-top:20px; margin-left:18px;" href="http://camel.apache.org/">Camel</a>
<a shape="rect" style="float:right; width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px; margin-top:45px; margin-right:10px;" href="http://www.apache.org">Apache</a>
@@ -77,14 +79,14 @@
<td valign="top" width="100%">
<div class="wiki-content maincontent"><div class="frontcover" id="frontcover"><h1><a shape="rect" name="BookInOnePage-ApacheCamel"></a>Apache Camel</h1>
<h2><a shape="rect" name="BookInOnePage-UserGuide"></a>User Guide</h2>
-
-<h3 id="replaceme">Version 2.10.4</h3>
-
-<p>Copyright 2007-2013, Apache Software Foundation</p></div>
+<p>
+</p><h3 id="replaceme">Version 2.10.4</h3>
+<br clear="none">
+Copyright 2007-2013, Apache Software Foundation</div>
<div class="toc" id="toc"><h1><a shape="rect" name="BookInOnePage-TableofContents"></a>Table of Contents</h1>
-
-<ul class="toc"><li class="frontmatter"><a shape="rect" href="#toc">Table of Contents</a></li><li class="chapter"><a shape="rect" href="#chapter-introduction">Introduction</a></li><li class="chapter"><a shape="rect" href="#chapter-quickstart">Quickstart</a></li><li class="chapter"><a shape="rect" href="#chapter-getting-started">Getting Started</a></li><li class="chapter"><a shape="rect" href="#chapter-architecture">Architecture</a></li><li class="chapter"><a shape="rect" href="#chapter-enterprise-integration-patterns">Enterprise Integration Patterns</a></li><li class="chapter"><a shape="rect" href="#chapter-cook-book">Cook Book</a></li><li class="chapter"><a shape="rect" href="#chapter-tutorials">Tutorials</a></li><li class="chapter"><a shape="rect" href="#chapter-languages-supported-Appendix">Language Appendix</a></li><li class="chapter"><a shape="rect" href="#chapter-dataformat-Appendix">DataFormat Appendix</a></li><li class="chapter"><a shape="rect" href="#chapter-pattern
-appendix">Pattern Appendix</a></li><li class="chapter"><a shape="rect" href="#chapter-component-appendix">Component Appendix</a></li><li class="endmatter"><a shape="rect" href="#index">Index</a></li></ul>
+<p>
+</p><ul class="toc"><li class="frontmatter"><a shape="rect" href="#toc">Table of Contents</a></li><li class="chapter"><a shape="rect" href="#chapter-introduction">Introduction</a></li><li class="chapter"><a shape="rect" href="#chapter-quickstart">Quickstart</a></li><li class="chapter"><a shape="rect" href="#chapter-getting-started">Getting Started</a></li><li class="chapter"><a shape="rect" href="#chapter-architecture">Architecture</a></li><li class="chapter"><a shape="rect" href="#chapter-enterprise-integration-patterns">Enterprise Integration Patterns</a></li><li class="chapter"><a shape="rect" href="#chapter-cook-book">Cook Book</a></li><li class="chapter"><a shape="rect" href="#chapter-tutorials">Tutorials</a></li><li class="chapter"><a shape="rect" href="#chapter-languages-supported-Appendix">Language Appendix</a></li><li class="chapter"><a shape="rect" href="#chapter-dataformat-Appendix">DataFormat Appendix</a></li><li class="chapter"><a shape="rect" href="#chapter-pat
tern-appendix">Pattern Appendix</a></li><li class="chapter"><a shape="rect" href="#chapter-component-appendix">Component Appendix</a></li><li class="endmatter"><a shape="rect" href="#index">Index</a></li></ul>
</div>
<div class="chapter page-reset" id="chapter-introduction"><h1><a shape="rect" name="BookInOnePage-Introduction"></a>Introduction</h1>
@@ -119,64 +121,47 @@ There's a great discussion about Camel a
<p>We start with creating a <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> - which is a container for <a shape="rect" href="components.html" title="Components">Components</a>, <a shape="rect" href="routes.html" title="Routes">Routes</a> etc:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">CamelContext context = <span class="code-keyword">new</span> DefaultCamelContext();
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>CamelContext context = new DefaultCamelContext();</p></div>
<p>There is more than one way of adding a Component to the CamelContext. You can add components implicitly - when we set up the routing - as we do here for the <a shape="rect" href="file2.html" title="File2">FileComponent</a>:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">context.addRoutes(<span class="code-keyword">new</span> RouteBuilder() {
- <span class="code-keyword">public</span> void configure() {
- from(<span class="code-quote">"test-jms:queue:test.queue"</span>).to(<span class="code-quote">"file:<span class="code-comment">//test"</span>);
-</span> }
-});
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>context.addRoutes(new RouteBuilder() {<br clear="none">
+ public void configure() </p>
+<div class="error"><span class="error">Unknown macro: { from("test-jms}</span> </div>
+<p>});</p></div>
<p>or explicitly - as we do here when we add the JMS Component:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">ConnectionFactory connectionFactory = <span class="code-keyword">new</span> ActiveMQConnectionFactory(<span class="code-quote">"vm:<span class="code-comment">//localhost?broker.persistent=<span class="code-keyword">false</span>"</span>);
-</span><span class="code-comment">// Note we can explicit name the component
-</span>context.addComponent(<span class="code-quote">"test-jms"</span>, JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");<br clear="none">
+// Note we can explicit name the component<br clear="none">
+context.addComponent("test-jms", JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));</p></div>
<p>The above works with any JMS provider. If we know we are using <a shape="rect" href="activemq.html" title="ActiveMQ">ActiveMQ</a> we can use an even simpler form using the <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/5.5.0/activemq-camel/apidocs/org/apache/activemq/camel/component/ActiveMQComponent.html#activeMQComponent%28java.lang.String%29"><tt>activeMQComponent()</tt> method</a> while specifying the <a shape="rect" class="external-link" href="http://activemq.apache.org/configuring-transports.html">brokerURL</a> used to connect to ActiveMQ </p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">camelContext.addComponent(<span class="code-quote">"activemq"</span>, activeMQComponent(<span class="code-quote">"vm:<span class="code-comment">//localhost?broker.persistent=<span class="code-keyword">false</span>"</span>));</span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>camelContext.addComponent("activemq", activeMQComponent("vm://localhost?broker.persistent=false"));</p></div>
<p>In normal use, an external system would be firing messages or events directly into Camel through one if its <a shape="rect" href="components.html" title="Components">Components</a> but we are going to use the <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ProducerTemplate.html">ProducerTemplate</a> which is a really easy way for testing your configuration:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">ProducerTemplate template = context.createProducerTemplate();
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>ProducerTemplate template = context.createProducerTemplate();</p></div>
<p>Next you <b>must</b> start the camel context. If you are using <a shape="rect" href="spring.html" title="Spring">Spring</a> to configure the camel context this is automatically done for you; though if you are using a pure Java approach then you just need to call the start() method</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-camelContext.start();
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p>camelContext.start();</p></div>
<p>This will start all of the configured routing rules.</p>
<p>So after starting the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a>, we can fire some objects into camel:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java"><span class="code-keyword">for</span> (<span class="code-object">int</span> i = 0; i < 10; i++) {
- template.sendBody(<span class="code-quote">"test-jms:queue:test.queue"</span>, <span class="code-quote">"Test Message: "</span> + i);
-}
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>for (int i = 0; i < 10; i++) {<br clear="none">
+ template.sendBody("test-jms:queue:test.queue", "Test Message: " + i);<br clear="none">
+}</p></div>
<h2><a shape="rect" name="BookInOnePage-Whathappens%3F"></a>What happens?</h2>
@@ -203,73 +188,53 @@ camelContext.start();
<p>This can be created in a route like this:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span class="code-quote">"jms:queue:order"</span>/></span>
- <span class="code-tag"><pipeline></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"validateOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"registerOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"sendConfirmEmail"</span>/></span>
- <span class="code-tag"></pipeline></span>
-<span class="code-tag"></route></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p><route><br clear="none">
+ <from uri="jms:queue:order"/><br clear="none">
+ <pipeline><br clear="none">
+ <bean ref="validateOrder"/><br clear="none">
+ <bean ref="registerOrder"/><br clear="none">
+ <bean ref="sendConfirmEmail"/><br clear="none">
+ </pipeline><br clear="none">
+</route></p></div>
<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Pipeline is default</b><br clear="none">In the route above we specify <tt>pipeline</tt> but it can be omitted as its default, so you can write the route as:
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span class="code-quote">"jms:queue:order"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"validateOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"registerOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"sendConfirmEmail"</span>/></span>
-<span class="code-tag"></route></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p><route><br clear="none">
+ <from uri="jms:queue:order"/><br clear="none">
+ <bean ref="validateOrder"/><br clear="none">
+ <bean ref="registerOrder"/><br clear="none">
+ <bean ref="sendConfirmEmail"/><br clear="none">
+</route></p></div>
<p>This is commonly used not to state the pipeline. </p>
<p>An example where the pipeline needs to be used, is when using a multicast and "one" of the endpoints to send to (as a logical group) is a pipeline of other endpoints. For example.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span class="code-quote">"jms:queue:order"</span>/></span>
- <span class="code-tag"><multicast></span>
- <span class="code-tag"><to uri=<span class="code-quote">"log:org.company.log.Category"</span>/></span>
- <span class="code-tag"><pipeline></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"validateOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"registerOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"sendConfirmEmail"</span>/></span>
- <span class="code-tag"></pipeline></span>
- <span class="code-tag"></multicast></span>
-<span class="code-tag"></route></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p><route><br clear="none">
+ <from uri="jms:queue:order"/><br clear="none">
+ <multicast><br clear="none">
+ <to uri="log:org.company.log.Category"/><br clear="none">
+ <pipeline><br clear="none">
+ <bean ref="validateOrder"/><br clear="none">
+ <bean ref="registerOrder"/><br clear="none">
+ <bean ref="sendConfirmEmail"/><br clear="none">
+ </pipeline><br clear="none">
+ </multicast><br clear="none">
+</route></p></div>
<p>The above sends the order (from <tt>jms:queue:order</tt>) to two locations at the same time, our log component, and to the "pipeline" of beans which goes one to the other. If you consider the opposite, sans the <tt><pipeline></tt></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span class="code-quote">"jms:queue:order"</span>/></span>
- <span class="code-tag"><multicast></span>
- <span class="code-tag"><to uri=<span class="code-quote">"log:org.company.log.Category"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"validateOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"registerOrder"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"sendConfirmEmail"</span>/></span>
- <span class="code-tag"></multicast></span>
-<span class="code-tag"></route></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p><route><br clear="none">
+ <from uri="jms:queue:order"/><br clear="none">
+ <multicast><br clear="none">
+ <to uri="log:org.company.log.Category"/><br clear="none">
+ <bean ref="validateOrder"/><br clear="none">
+ <bean ref="registerOrder"/><br clear="none">
+ <bean ref="sendConfirmEmail"/><br clear="none">
+ </multicast><br clear="none">
+</route></p></div>
<p>you would see that multicast would not "flow" the message from one bean to the next, but rather send the order to all 4 endpoints (1x log, 3x bean) in parallel, which is not (for this example) what we want. We need the message to flow to the validateOrder, then to the registerOrder, then the sendConfirmEmail so adding the pipeline, provides this facility.</p></td></tr></table></div>
<p>Where as the <tt>bean ref</tt> is a reference for a spring bean id, so we define our beans using regular Spring XML as:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
- <span class="code-tag"><bean id=<span class="code-quote">"validateOrder"</span> class=<span class="code-quote">"com.mycompany.MyOrderValidator"</span>/></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p> <bean id="validateOrder" class="com.mycompany.MyOrderValidator"/></p></div>
<p>Our validator bean is a plain POJO that has no dependencies to Camel what so ever. So you can implement this POJO as you like. Camel uses rather intelligent <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> to invoke your POJO with the payload of the received message. In this example we will <b>not</b> dig into this how this happens. You should return to this topic later when you got some hands on experience with Camel how it can easily bind routing using your existing POJO beans.</p>
@@ -281,16 +246,12 @@ camelContext.start();
<h3><a shape="rect" name="BookInOnePage-UsingCamelComponents"></a>Using Camel Components</h3>
<p>In the route lets imagine that the registration of the order has to be done by sending data to a TCP socket that could be a big mainframe. As Camel has many <a shape="rect" href="components.html" title="Components">Components</a> we will use the camel-mina component that supports <a shape="rect" href="mina.html" title="MINA">TCP</a> connectivity. So we change the route to:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span class="code-quote">"jms:queue:order"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"validateOrder"</span>/></span>
- <span class="code-tag"><to uri=<span class="code-quote">"mina:tcp://mainframeip:4444?textline=true"</span>/></span>
- <span class="code-tag"><bean ref=<span class="code-quote">"sendConfirmEmail"</span>/></span>
-<span class="code-tag"></route></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p><route><br clear="none">
+ <from uri="jms:queue:order"/><br clear="none">
+ <bean ref="validateOrder"/><br clear="none">
+ <to uri="mina:tcp://mainframeip:4444?textline=true"/><br clear="none">
+ <bean ref="sendConfirmEmail"/><br clear="none">
+</route></p></div>
<p>What we now have in the route is a <tt>to</tt> type that can be used as a direct replacement for the bean type. The steps is now:<br clear="none">
1. payload from the <a shape="rect" href="jms.html" title="JMS">JMS</a> is sent as input to the validateOrder bean<br clear="none">
@@ -298,16 +259,12 @@ camelContext.start();
3. the output from mainframe is sent back as input to the sendConfirmEmai bean</p>
<p>What to notice here is that the <tt>to</tt> is not the end of the route (the world <img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/wink.gif" height="20" width="20" alt="" border="0">) in this example it's used in the middle of the <a shape="rect" href="pipes-and-filters.html" title="Pipes and Filters">Pipes and Filters</a>. In fact we can change the <tt>bean</tt> types to <tt>to</tt> as well:</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag"><route></span>
- <span class="code-tag"><from uri=<span class="code-quote">"jms:queue:order"</span>/></span>
- <span class="code-tag"><to uri=<span class="code-quote">"bean:validateOrder"</span>/></span>
- <span class="code-tag"><to uri=<span class="code-quote">"mina:tcp://mainframeip:4444?textline=true"</span>/></span>
- <span class="code-tag"><to uri=<span class="code-quote">"bean:sendConfirmEmail"</span>/></span>
-<span class="code-tag"></route></span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span> <p><route><br clear="none">
+ <from uri="jms:queue:order"/><br clear="none">
+ <to uri="bean:validateOrder"/><br clear="none">
+ <to uri="mina:tcp://mainframeip:4444?textline=true"/><br clear="none">
+ <to uri="bean:sendConfirmEmail"/><br clear="none">
+</route></p></div>
<p>As the <tt>to</tt> is a generic type we must state in the uri scheme which component it is. So we must write <b>bean:</b> for the <a shape="rect" href="bean.html" title="Bean">Bean</a> component that we are using.</p>
@@ -335,11 +292,8 @@ One of the most famous patterns books is
<h3><a shape="rect" name="BookInOnePage-Ausefultipfornavigatingtheonlinedocumentation"></a>A useful tip for navigating the online documentation</h3>
<p>The breadcrumbs at the top of the online Camel documentation can help you navigate between parent and child subsections. <br clear="none">
For example, If you are on the "Languages" documentation page then the left-hand side of the reddish bar contains the following links.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-Apache Camel > Documentation > Architecture > Languages
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>Apache Camel > Documentation > Architecture > Languages</p></div>
<p>As you might expect, clicking on "Apache Camel" takes you back to the home page of the Apache Camel project, and clicking on "Documentation" takes you to the main documentation page. You can interpret the "Architecture" and "Languages" buttons as indicating you are in the "Languages" section of the "Architecture" chapter. Adding browser bookmarks to pages that you frequently reference can also save time. </p>
<p><a shape="rect" name="BookInOnePage-onlinejavadocdocs"></a></p>
@@ -388,44 +342,29 @@ To date, URNs are not (yet) as popular a
<h3><a shape="rect" name="BookInOnePage-Components"></a>Components</h3>
<p><em>Component</em> is confusing terminology; <em>EndpointFactory</em> would have been more appropriate because a <tt>Component</tt> is a factory for creating <tt>Endpoint</tt> instances. For example, if a Camel-based application uses several JMS queues then the application will create one instance of the <tt>JmsComponent</tt> class (which implements the <tt>Component</tt> interface), and then the application invokes the <tt>createEndpoint()</tt> operation on this <tt>JmsComponent</tt> object several times. Each invocation of <tt>JmsComponent.createEndpoint()</tt> creates an instance of the <tt>JmsEndpoint</tt> class (which implements the <tt>Endpoint</tt> interface). Actually, application-level code does not invoke <tt>Component.createEndpoint()</tt> directly. Instead, application-level code normally invokes <tt>CamelContext.getEndpoint()</tt>; internally, the <tt>CamelContext</tt> object finds the desired <tt>Component</tt> object (as I will discuss shortly) and then inv
okes <tt>createEndpoint()</tt> on it.<br clear="none">
Consider the following code.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-myCamelContext.getEndpoint(<span class="code-quote">"pop3:<span class="code-comment">//john.smith@mailserv.example.com?password=myPassword"</span>);</span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>myCamelContext.getEndpoint("pop3://john.smith@mailserv.example.com?password=myPassword");</p></div>
<p>The parameter to <tt>getEndpoint()</tt> is a URI. The URI <em>prefix</em> (that is, the part before ":") specifies the name of a component. Internally, the <tt>CamelContext</tt> object maintains a mapping from names of components to <tt>Component</tt> objects. For the URI given in the above example, the <tt>CamelContext</tt> object would probably map the <tt>pop3</tt> prefix to an instance of the <tt>MailComponent</tt> class. Then the <tt>CamelContext</tt> object invokes <tt>createEndpoint("pop3://john.smith@mailserv.example.com?password=myPassword")</tt> on that <tt>MailComponent</tt> object. The <tt>createEndpoint()</tt> operation splits the URI into its component parts and uses these parts to create and configure an <tt>Endpoint</tt> object.<br clear="none">
In the previous paragraph, I mentioned that a <tt>CamelContext</tt> object maintains a mapping from component names to <tt>Component</tt> objects. This raises the question of how this map is populated with named <tt>Component</tt> objects. There are two ways of populating the map. The first way is for application-level code to invoke <tt>CamelContext.addComponent(String componentName, Component component)</tt>. The example below shows a single <tt>MailComponent</tt> object being registered in the map under 3 different names.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-Component mailComponent = <span class="code-keyword">new</span> org.apache.camel.component.mail.MailComponent();
-myCamelContext.addComponent(<span class="code-quote">"pop3"</span>, mailComponent);
-myCamelContext.addComponent(<span class="code-quote">"imap"</span>, mailComponent);
-myCamelContext.addComponent(<span class="code-quote">"smtp"</span>, mailComponent);
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>Component mailComponent = new org.apache.camel.component.mail.MailComponent();<br clear="none">
+myCamelContext.addComponent("pop3", mailComponent);<br clear="none">
+myCamelContext.addComponent("imap", mailComponent);<br clear="none">
+myCamelContext.addComponent("smtp", mailComponent);</p></div>
<p>The second (and preferred) way to populate the map of named <tt>Component</tt> objects in the <tt>CamelContext</tt> object is to let the <tt>CamelContext</tt> object perform lazy initialization. This approach relies on developers following a convention when they write a class that implements the <tt>Component</tt> interface. I illustrate the convention by an example. Let's assume you write a class called <tt>com.example.myproject.FooComponent</tt> and you want Camel to automatically recognize this by the name "foo". To do this, you have to write a properties file called "META-INF/services/org/apache/camel/component/foo" (without a ".properties" file extension) that has a single entry in it called <tt>class</tt>, the value of which is the fully-scoped name of your class. This is shown below.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>META-INF/services/org/apache/camel/component/foo</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-class=com.example.myproject.FooComponent
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>class=com.example.myproject.FooComponent</p></div>
<p>If you want Camel to also recognize the class by the name "bar" then you write another properties file in the same directory called "bar" that has the same contents. Once you have written the properties file(s), you create a jar file that contains the <tt>com.example.myproject.FooComponent</tt> class and the properties file(s), and you add this jar file to your CLASSPATH. Then, when application-level code invokes <tt>createEndpoint("foo:...")</tt> on a <tt>CamelContext</tt> object, Camel will find the "foo"" properties file on the CLASSPATH, get the value of the <tt>class</tt> property from that properties file, and use reflection APIs to create an instance of the specified class.<br clear="none">
As I said in <a shape="rect" href="#BookInOnePage-endpoint">Section 4.1 ("Endpoint")</a>, Camel provides out-of-the-box support for numerous communication technologies. The out-of-the-box support consists of classes that implement the <tt>Component</tt> interface plus properties files that enable a <tt>CamelContext</tt> object to populate its map of named <tt>Component</tt> objects.<br clear="none">
Earlier in this section I gave the following example of calling <tt>CamelContext.getEndpoint()</tt>.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-myCamelContext.getEndpoint(<span class="code-quote">"pop3:<span class="code-comment">//john.smith@mailserv.example.com?password=myPassword"</span>);</span>
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>myCamelContext.getEndpoint("pop3://john.smith@mailserv.example.com?password=myPassword");</p></div>
<p>When I originally gave that example, I said that the parameter to <tt>getEndpoint()</tt> was a URI. I said that because the online Camel documentation and the Camel source code both claim the parameter is a URI. In reality, the parameter is restricted to being a URL. This is because when Camel extracts the component name from the parameter, it looks for the first ":", which is a simplistic algorithm. To understand why, recall from <a shape="rect" href="#BookInOnePage-urluriurniri">Section 4.4 ("The Meaning of URL, URI, URN and IRI")</a> that a URI can be a URL <em>or</em> a URN. Now consider the following calls to <tt>getEndpoint</tt>.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-myCamelContext.getEndpoint(<span class="code-quote">"pop3:..."</span>);
-myCamelContext.getEndpoint(<span class="code-quote">"jms:..."</span>);
-myCamelContext.getEndpoint(<span class="code-quote">"urn:foo:..."</span>);
-myCamelContext.getEndpoint(<span class="code-quote">"urn:bar:..."</span>);
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>myCamelContext.getEndpoint("pop3:...");<br clear="none">
+myCamelContext.getEndpoint("jms:...");<br clear="none">
+myCamelContext.getEndpoint("urn:foo:...");<br clear="none">
+myCamelContext.getEndpoint("urn:bar:...");</p></div>
<p>Camel identifies the components in the above example as "pop3", "jms", "urn" and "urn". It would be more useful if the latter components were identified as "urn:foo" and "urn:bar" or, alternatively, as "foo" and "bar" (that is, by skipping over the "urn:" prefix). So, in practice you must identify an endpoint with a URL (a string of the form "<scheme>:...") rather than with a URN (a string of the form "urn:<scheme>:..."). This lack of proper support for URNs means the you should consider the parameter to <tt>getEndpoint()</tt> as being a URL rather than (as claimed) a URI.</p>
<p><a shape="rect" name="BookInOnePage-messageandexchange"></a></p>
@@ -438,14 +377,12 @@ Application-level programmers rarely acc
<h3><a shape="rect" name="BookInOnePage-Processor"></a>Processor</h3>
<p>The <tt>Processor</tt> interface represents a class that processes a message. The signature of this interface is shown below.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Processor</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">package</span> org.apache.camel;
-<span class="code-keyword">public</span> <span class="code-keyword">interface</span> Processor {
- void process(Exchange exchange) <span class="code-keyword">throws</span> Exception;
-}
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>package org.apache.camel;<br clear="none">
+public interface Processor </p>
+<div class="error"><span class="error">Unknown macro: {
+ void process(Exchange exchange) throws Exception;
+}</span> </div></div>
<p>Notice that the parameter to the <tt>process()</tt> method is an <tt>Exchange</tt> rather than a <tt>Message</tt>. This provides flexibility. For example, an implementation of this method initially might call <tt>exchange.getIn()</tt> to get the input message and process it. If an error occurs during processing then the method can call <tt>exchange.setException()</tt>.<br clear="none">
An application-level developer might implement the <tt>Processor</tt> interface with a class that executes some business logic. However, there are many classes in the Camel library that implement the <tt>Processor</tt> interface in a way that provides support for a design pattern in the <a shape="rect" href="#BookInOnePage-eipbook">EIP book</a>. For example, <tt>ChoiceProcessor</tt> implements the message router pattern, that is, it uses a cascading if-then-else statement to route a message from an input queue to one of several output queues. Another example is the <tt>FilterProcessor</tt> class which discards messages that do not satisfy a stated <em>predicate</em> (that is, condition).</p>
@@ -455,21 +392,14 @@ An application-level developer might imp
<h4><a shape="rect" name="BookInOnePage-IntroductiontoJavaDSL"></a>Introduction to Java DSL</h4>
<p>For many people, the term "domain-specific language" implies a compiler or interpreter that can process an input file containing keywords and syntax specific to a particular domain. This is <em>not</em> the approach taken by Camel. Camel documentation consistently uses the term "Java DSL" instead of "DSL", but this does not entirely avoid potential confusion. The Camel "Java DSL" is a class library that can be used in a way that looks almost like a DSL, except that it has a bit of Java syntactic baggage. You can see this in the example below. Comments afterwards explain some of the constructs used in the example.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example of Camel's "Java DSL"</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-RouteBuilder builder = <span class="code-keyword">new</span> RouteBuilder() {
- <span class="code-keyword">public</span> void configure() {
- from(<span class="code-quote">"queue:a"</span>).filter(header(<span class="code-quote">"foo"</span>).isEqualTo(<span class="code-quote">"bar"</span>)).to(<span class="code-quote">"queue:b"</span>);
- from(<span class="code-quote">"queue:c"</span>).choice()
- .when(header(<span class="code-quote">"foo"</span>).isEqualTo(<span class="code-quote">"bar"</span>)).to(<span class="code-quote">"queue:d"</span>)
- .when(header(<span class="code-quote">"foo"</span>).isEqualTo(<span class="code-quote">"cheese"</span>)).to(<span class="code-quote">"queue:e"</span>)
- .otherwise().to(<span class="code-quote">"queue:f"</span>);
- }
-};
-CamelContext myCamelContext = <span class="code-keyword">new</span> DefaultCamelContext();
-myCamelContext.addRoutes(builder);
-</pre>
-</div></div>
+<div class="error"><span class="error">Unknown macro: {code}</span>
+<p>RouteBuilder builder = new RouteBuilder() {<br clear="none">
+ public void configure() </p>
+<div class="error"><span class="error">Unknown macro: {
+ from("queue}</span> </div>
+<p>};<br clear="none">
+CamelContext myCamelContext = new DefaultCamelContext();<br clear="none">
+myCamelContext.addRoutes(builder);</p></div>
<p>The first line in the above example creates an object which is an instance of an anonymous subclass of <tt>RouteBuilder</tt> with the specified <tt>configure()</tt> method.<br clear="none">
The <tt>CamelContext.addRoutes(RouterBuilder builder)</tt> method invokes <tt>builder.setContext(this)</tt> – so the <tt>RouteBuilder</tt> object knows which <tt>CamelContext</tt> object it is associated with – and then invokes <tt>builder.configure()</tt>. The body of <tt>configure()</tt> invokes methods such as <tt>from()</tt>, <tt>filter()</tt>, <tt>choice()</tt>, <tt>when()</tt>, <tt>isEqualTo()</tt>, <tt>otherwise()</tt> and <tt>to()</tt>.<br clear="none">
The <tt>RouteBuilder.from(String uri)</tt> method invokes <tt>getEndpoint(uri)</tt> on the <tt>CamelContext</tt> associated with the <tt>RouteBuilder</tt> object to get the specified <tt>Endpoint</tt> and then puts a <tt>FromBuilder</tt> "wrapper" around this <tt>Endpoint</tt>. The <tt>FromBuilder.filter(Predicate predicate)</tt> method creates a <tt>FilterProcessor</tt> object for the <tt>Predicate</tt> (that is, condition) object built from the <tt>header("foo").isEqualTo("bar")</tt> expression. In this way, these operations incrementally build up a <tt>Route</tt> object (with a <tt>RouteBuilder</tt> wrapper around it) and add it to the <tt>CamelContext</tt> object associated with the <tt>RouteBuilder</tt>.</p>
@@ -514,691 +444,151 @@ However, there is another option that th
<div class="table-wrap">
<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Component / ArtifactId / URI </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ahc.html" title="AHC">AHC</a> / camel-ahc
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ahc:hostname:[port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To call external HTTP services using <a shape="rect" class="external-link" href="http://github.com/sonatype/async-http-client" rel="nofollow">Async Http Client</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="amqp.html" title="AMQP">AMQP</a> / camel-amqp
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-amqp:[topic:]destinationName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For Messaging with <a shape="rect" class="external-link" href="http://www.amqp.org/" rel="nofollow">AMQP protocol</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="apns.html" title="APNS">APNS</a> / camel-apns
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-apns:notify[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For sending notifications to Apple iOS devices </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="atom.html" title="Atom">Atom</a> / camel-atom
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-atom:uri
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://incubator.apache.org/abdera/">Apache Abdera</a> for atom integration, such as consuming an atom feed. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="avro.html" title="avro">Avro</a> / camel-avro
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-avro:http://hostname[:port][?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://avro.apache.org/">Apache Avro</a> for data serialization. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-cw.html" title="AWS-CW">AWS-CW</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-cw://namespace[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with <a shape="rect" class="external-link" href="http://aws.amazon.com/cloudwatch/" rel="nofollow">Amazon's CloudWatch (CW)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-ddb.html" title="AWS-DDB">AWS-DDB</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-ddb://tableName[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with <a shape="rect" class="external-link" href="http://aws.amazon.com/dynamodb/" rel="nofollow">Amazon's DynamoDB (DDB)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-sdb.html" title="AWS-SDB">AWS-SDB</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-sdb://domainName[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with <a shape="rect" class="external-link" href="http://aws.amazon.com/simpledb/" rel="nofollow">Amazon's SimpleDB (SDB)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-ses.html" title="AWS-SES">AWS-SES</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-ses://from[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with <a shape="rect" class="external-link" href="http://aws.amazon.com/ses/" rel="nofollow">Amazon's Simple Email Service (SES)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-sns.html" title="AWS-SNS">AWS-SNS</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-sns://topicname[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For Messaging with <a shape="rect" class="external-link" href="http://aws.amazon.com/sns/" rel="nofollow">Amazon's Simple Notification Service (SNS)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-sqs.html" title="AWS-SQS">AWS-SQS</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-sqs://queuename[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For Messaging with <a shape="rect" class="external-link" href="http://aws.amazon.com/sqs/" rel="nofollow">Amazon's Simple Queue Service (SQS)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="aws-s3.html" title="AWS-S3">AWS-S3</a> / <a shape="rect" href="aws.html" title="AWS">camel-aws</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-aws-s3://bucketname[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with <a shape="rect" class="external-link" href="http://aws.amazon.com/s3/" rel="nofollow">Amazon's Simple Storage Service (S3)</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="bean.html" title="Bean">Bean</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-bean:beanName[?method=someMethod]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses the <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> to bind message exchanges to beans in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. Is also used for exposing and invoking POJO (Plain Old Java Objects). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="bean-validation.html" title="Bean Validation">Bean Validation</a> / camel-bean-validator
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-bean-validator:something
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Validates the payload of a message using the Java Validation API (<a shape="rect" class="external-link" href="http://jcp.org/en/jsr/detail?id=303" rel="nofollow">JSR 303</a> and JAXP Validation) and its reference implementation <a shape="rect" class="external-link" href="http://docs.jboss.org/hibernate/stable/validator/reference/en/html_single/" rel="nofollow">Hibernate Validator</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="browse.html" title="Browse">Browse</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-browse:someName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Provides a simple <a shape="rect" href="browsableendpoint.html" title="BrowsableEndpoint">BrowsableEndpoint</a> which can be useful for testing, visualisation tools or debugging. The exchanges sent to the endpoint are all available to be browsed. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="cache.html" title="Cache">Cache</a> / camel-cache
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-cache://cachename[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> The cache component facilitates creation of caching endpoints and processors using <a shape="rect" class="external-link" href="http://ehcache.org/" rel="nofollow">EHCache</a> as the cache implementation. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="class.html" title="Class">Class</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-class:className[?method=someMethod]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses the <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> to bind message exchanges to beans in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. Is also used for exposing and invoking POJO (Plain Old Java Objects). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="cmis.html" title="CMIS">CMIS</a> / camel-cmis
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-cmis://cmisServerUrl[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses the <a shape="rect" class="external-link" href="http://chemistry.apache.org/java/opencmis.html">Apache Chemistry</a> client API to interface with CMIS supporting CMS </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="cometd.html" title="Cometd">Cometd</a> / camel-cometd
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-cometd://host:port/channelname
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Used to deliver messages using the <a shape="rect" class="external-link" href="http://docs.codehaus.org/display/JETTY/Cometd+(aka+Bayeux)" rel="nofollow">jetty cometd implementation</a> of the <a shape="rect" class="external-link" href="http://svn.xantus.org/shortbus/trunk/bayeux/bayeux.html" rel="nofollow">bayeux protocol</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="context.html" title="Context">Context</a> / camel-context
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-context:camelContextId:localEndpointName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Used to refer to endpoints within a separate CamelContext to provide a simple <a shape="rect" href="context.html" title="Context">black box composition</a> approach so that routes can be combined into a CamelContext and then used as a black box component inside other routes in other CamelContexts </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="controlbus-component.html" title="ControlBus Component">ControlBus</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-controlbus:command[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> EIP that allows to send messages to <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>s for managing and monitoring your Camel applications. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="couchdb.html" title="CouchDB">CouchDB</a> / camel-couchdb
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-couchdb:http://hostname[:port]/database[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To integrate with <a shape="rect" class="external-link" href="http://couchdb.apache.org/">Apache CouchDB</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="crypto-digital-signatures.html" title="Crypto (Digital Signatures)">Crypto (Digital Signatures)</a> / camel-crypto
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-crypto:sign:name[?options]
-crypto:verify:name[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Used to sign and verify exchanges using the Signature Service of the Java Cryptographic Extension. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="cxf.html" title="CXF">CXF</a> / camel-cxf
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-cxf:address[?serviceClass=...]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://apache.org/cxf/">Apache CXF</a> for web services integration </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="cxf-bean-component.html" title="CXF Bean Component">CXF Bean </a> / camel-cxf
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-cxf:bean name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Proceess the exchange using a JAX WS or JAX RS annotated bean from the registry. Requires less configuration than the above CXF Component </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="cxfrs.html" title="CXFRS">CXFRS</a> / camel-cxf
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-cxfrs:address[?resourcesClasses=...]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://apache.org/cxf/">Apache CXF</a> for REST services integration </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="dataset.html" title="DataSet">DataSet</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-dataset:name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For load & soak testing the <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/component/dataset/DataSet.html">DataSet</a> provides a way to create huge numbers of messages for sending to <a shape="rect" href="components.html" title="Components">Components</a> or asserting that they are consumed correctly </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="direct.html" title="Direct">Direct</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-direct:name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Synchronous call to another endpoint from <b>same</b> CamelContext. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="direct-vm.html" title="Direct-VM">Direct-VM</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-direct-vm:name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Synchronous call to another endpoint in another CamelContext running in the same JVM. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="dns.html" title="DNS">DNS</a> / camel-dns
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-dns:operation
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To lookup domain information and run DNS queries using <a shape="rect" class="external-link" href="http://www.xbill.org/dnsjava/" rel="nofollow">DNSJava</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="disruptor.html" title="Disruptor">Disruptor</a> / camel-disruptor
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-disruptor:name[?option=...]
-disruptor-vm:name[?option=...]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> To provide the implementation of <a shape="rect" href="seda.html" title="SEDA">SEDA</a> which is based on <a shape="rect" class="external-link" href="https://github.com/LMAX-Exchange/disruptor" rel="nofollow">disruptor</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ejb.html" title="EJB">EJB</a> / camel-ejb
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ejb:ejbName[?method=someMethod]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses the <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> to bind message exchanges to EJBs. It works like the <a shape="rect" href="bean.html" title="Bean">Bean</a> component but just for accessing EJBs. Supports EJB 3.0 onwards. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="elasticsearch.html" title="ElasticSearch">ElasticSearch</a> / camel-elasticsearch
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-elasticsearch://clusterName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For interfacing with an <a shape="rect" class="external-link" href="http://elasticsearch.org" rel="nofollow">ElasticSearch</a> server. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="event.html" title="Event">Event</a> / camel-spring
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-event://default
-spring-event://default
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with Spring ApplicationEvents </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="eventadmin.html" title="EventAdmin">EventAdmin</a> / camel-eventadmin
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-eventadmin:topic
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Receiving OSGi EventAdmin events </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="exec.html" title="Exec">Exec</a> / camel-exec
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-exec://executable[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For executing system commands </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="file2.html" title="File2">File</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-file://nameOfFileOrDirectory
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending messages to a file or polling a file or directory. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="flatpack.html" title="Flatpack">Flatpack</a> / camel-flatpack
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-flatpack:[fixed|delim]:configFile
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Processing fixed width or delimited files or messages using the <a shape="rect" class="external-link" href="http://flatpack.sourceforge.net" rel="nofollow">FlatPack library</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="fop.html" title="FOP">FOP</a> / camel-fop
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-fop:outputFormat
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Renders the message into different output formats using <a shape="rect" class="external-link" href="http://xmlgraphics.apache.org/fop/index.html">Apache FOP</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="freemarker.html" title="FreeMarker">FreeMarker</a> / camel-freemarker
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-freemarker:someTemplateResource
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Generates a response using a <a shape="rect" class="external-link" href="http://freemarker.org/" rel="nofollow">FreeMarker</a> template </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> / camel-ftp
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ftp://host[:port]/fileName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending and receiving files over FTP. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ftp2.html" title="FTP2">FTPS</a> / camel-ftp
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ftps://host[:port]/fileName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending and receiving files over FTP Secure (TLS and SSL). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="gauth.html" title="gauth">GAuth</a> / <a shape="rect" href="gae.html" title="GAE">camel-gae</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-gauth://name[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Used by web applications to implement an <a shape="rect" class="external-link" href="http://code.google.com/apis/accounts/docs/OAuth.html" rel="nofollow">OAuth</a> consumer. See also <a shape="rect" href="gae.html" title="GAE">Camel Components for Google App Engine</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ghttp.html" title="ghttp">GHttp</a> / <a shape="rect" href="gae.html" title="GAE">camel-gae</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ghttp://hostname[:port][/path][?options]
-ghttp:///path[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Provides connectivity to the <a shape="rect" class="external-link" href="http://code.google.com/appengine/docs/java/urlfetch/" rel="nofollow">URL fetch service</a> of Google App Engine but can also be used to receive messages from servlets. See also <a shape="rect" href="gae.html" title="GAE">Camel Components for Google App Engine</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="glogin.html" title="glogin">GLogin</a> / <a shape="rect" href="gae.html" title="GAE">camel-gae</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-glogin://hostname[:port][?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Used by Camel applications outside Google App Engine (GAE) for programmatic login to GAE applications. See also <a shape="rect" href="gae.html" title="GAE">Camel Components for Google App Engine</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="gtask.html" title="gtask">GTask</a> / <a shape="rect" href="gae.html" title="GAE">camel-gae</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-gtask://queue-name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Supports asynchronous message processing on Google App Engine by using the <a shape="rect" class="external-link" href="http://code.google.com/appengine/docs/java/taskqueue/" rel="nofollow">task queueing service</a> as message queue. See also <a shape="rect" href="gae.html" title="GAE">Camel Components for Google App Engine</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="gmail.html" title="gmail">GMail</a> / <a shape="rect" href="gae.html" title="GAE">camel-gae</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-gmail://user@gmail.com[?options]
-gmail://user@googlemail.com[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Supports sending of emails via the <a shape="rect" class="external-link" href="http://code.google.com/appengine/docs/java/mail/" rel="nofollow">mail service</a> of Google App Engine. See also <a shape="rect" href="gae.html" title="GAE">Camel Components for Google App Engine</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="geocoder.html" title="Geocoder">Geocoder</a> / camel-geocoder
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-geocoder:address[?options]
-geocoder:latlng[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Supports looking up geocoders for an address, or reverse lookup geocoders from an address. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="guava-eventbus.html" title="Guava EventBus">Google Guava EventBus</a> / camel-guava-eventbus
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-guava-eventbus:busName[?eventClass=className]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> The <a shape="rect" class="external-link" href="http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/eventbus/package-summary.html" rel="nofollow">Google Guava EventBus</a> allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other). This component provides integration bridge between Camel and <a shape="rect" class="external-link" href="http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/eventbus/package-summary.html" rel="nofollow">Google Guava EventBus</a> infrastructure. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast</a> / <a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">camel-hazelcast</a>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-hazelcast://[type]:cachename[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link" href="http://www.hazelcast.com" rel="nofollow">Hazelcast</a> is a data grid entirely implemented in Java (single jar). This component supports map, multimap, seda, queue, set, atomic number and simple cluster support. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="hbase.html" title="hbase">HBase</a> / camel-hbase
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-hbase://table[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For reading/writing from/to an <a shape="rect" class="external-link" href="http://hadoop.apache.org/hbase/">HBase</a> store (Hadoop database) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="hdfs.html" title="HDFS">HDFS</a> / camel-hdfs
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-hdfs://path[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For reading/writing from/to an <a shape="rect" class="external-link" href="http://hadoop.apache.org/hdfs/">HDFS</a> filesystem </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="hl7.html" title="HL7">HL7</a> / camel-hl7
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mina:tcp://hostname[:port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with the HL7 MLLP protocol and the HL7 model using the <a shape="rect" class="external-link" href="http://hl7api.sourceforge.net" rel="nofollow">HAPI library</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="http.html" title="HTTP">HTTP</a> / camel-http
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-http://hostname[:port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For calling out to external HTTP servers using Apache HTTP Client 3.x </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a> / camel-http4
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-http4://hostname[:port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For calling out to external HTTP servers using Apache HTTP Client 4.x </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ibatis.html" title="iBATIS">iBATIS</a> / camel-ibatis
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ibatis://statementName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Performs a query, poll, insert, update or delete in a relational database using <a shape="rect" class="external-link" href="http://ibatis.apache.org/">Apache iBATIS</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mail.html" title="Mail">IMAP</a> / camel-mail
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-imap://hostname[:port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Receiving email using <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol" rel="nofollow">IMAP</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="irc.html" title="IRC">IRC</a> / camel-irc
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-irc:host[:port]/#room
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For IRC communication </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="javaspace.html" title="JavaSpace">JavaSpace</a> / camel-javaspace
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-javaspace:jini://host?spaceName=mySpace?...
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jbi.html" title="JBI">JBI</a> / servicemix-camel
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jbi:serviceName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For JBI integration such as working with <a shape="rect" class="external-link" href="http://servicemix.apache.org">Apache ServiceMix</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jclouds.html" title="jclouds">jclouds</a> / jclouds
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jclouds:[blobstore|computservice]:provider
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For interacting with cloud compute & blobstore service via <a shape="rect" class="external-link" href="http://www.jclouds.org" rel="nofollow">jclouds</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jcr.html" title="JCR">JCR</a> / camel-jcr
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jcr://user:password@repository/path/to/node
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Storing a message in a JCR compliant repository like <a shape="rect" class="external-link" href="http://jackrabbit.apache.org">Apache Jackrabbit</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jdbc.html" title="JDBC">JDBC</a> / camel-jdbc
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jdbc:dataSourceName?options
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For performing JDBC queries and operations </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> / camel-jetty
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jetty:url
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For exposing services over HTTP </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jms.html" title="JMS">JMS</a> / camel-jms
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jms:[topic:]destinationName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with JMS providers </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jmx.html" title="JMX">JMX</a> / camel-jmx
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jmx://platform?options
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with JMX notification listeners </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jpa.html" title="JPA">JPA</a> / camel-jpa
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jpa://entityName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For using a database as a queue via the JPA specification for working with <a shape="rect" class="external-link" href="http://openjpa.apache.org/">OpenJPA</a>, <a shape="rect" class="external-link" href="http://www.hibernate.org/" rel="nofollow">Hibernate</a> or TopLink </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jsch.html" title="Jsch">Jsch</a> / camel-jsch
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-scp://localhost/destination
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Support for the scp protocol </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jt400.html" title="JT400">JT/400 </a> / camel-jt400
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-jt400://user:pwd@system/<span class="code-tag"><path_to_dtaq></span>
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For integrating with data queues on an AS/400 (aka System i, IBM i, i5, ...) system </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="kestrel.html" title="Kestrel">Kestrel</a> / camel-kestrel
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-kestrel://[addresslist/]queuename[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For producing to or consuming from <a shape="rect" class="external-link" href="https://github.com/robey/kestrel" rel="nofollow">Kestrel</a> queues </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="krati.html" title="Krati">Krati</a> / camel-krati
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-krati://[path to datastore/][?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For producing to or consuming to <a shape="rect" class="external-link" href="http://sna-projects.com/krati/" rel="nofollow">Krati</a> datastores </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="language.html" title="Language">Language</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-language://languageName[:script][?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Executes <a shape="rect" href="languages.html" title="Languages">Languages</a> scripts </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ldap.html" title="LDAP">LDAP</a> / camel-ldap
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ldap:host[:port]?base=...[&scope=<span class="code-tag"><scope></span>]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Performing searches on LDAP servers (<scope> must be one of object|onelevel|subtree) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="log.html" title="Log">Log</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-log:loggingCategory[?level=ERROR]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses Jakarta Commons Logging to log the message exchange to some underlying logging system like log4j </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="lucene.html" title="Lucene">Lucene</a> / camel-lucene
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-lucene:searcherName:insert[?analyzer=<span class="code-tag"><analyzer></span>]
-lucene:searcherName:query[?analyzer=<span class="code-tag"><analyzer></span>]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Uses Apache Lucene to perform Java-based indexing and full text based searches using advanced analysis/tokenization capabilities </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mail.html" title="Mail">Mail</a> / camel-mail
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mail://user-info@host:port
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending and receiving email </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mina.html" title="MINA">MINA</a> / camel-mina
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-[tcp|udp|vm]:host[:port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mock.html" title="Mock">Mock</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mock:name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For testing routes and mediation rules using mocks </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mongodb.html" title="MongoDB">MongoDB</a> / camel-mongodb
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mongodb:connection?options
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Interacts with <a shape="rect" class="external-link" href="http://www.mongodb.org/" rel="nofollow">MongoDB</a> databases and collections. Offers producer endpoints to perform CRUD-style operations and more against databases and collections, as well as consumer endpoints to listen on collections and dispatch objects to Camel routes </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mqtt.html" title="MQTT">MQTT</a> / camel-mqtt
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mqtt:name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Component for communicating with <a shape="rect" class="external-link" href="http://mqtt.org" rel="nofollow">MQTT</a> M2M message brokers </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="msv.html" title="MSV">MSV</a> / camel-msv
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-msv:someLocalOrRemoteResource
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Validates the payload of a message using the <a shape="rect" class="external-link" href="https://msv.dev.java.net/" rel="nofollow">MSV Library</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="https://cwiki.apache.org/confluence/display/CAMEL/Mustache" title="Mustache">Mustache</a> / camel-mustache
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mustache:someTemplateResource
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Generates a response using a <a shape="rect" class="external-link" href="http://mustache.github.io/" rel="nofollow">Mustache</a> template </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mvel-component.html" title="MVEL Component">MVEL</a> / camel-mvel
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mvel:someTemplateResource
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Generates a response using an <a shape="rect" class="external-link" href="http://mvel.codehaus.org/" rel="nofollow">MVEL</a> template </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mybatis.html" title="MyBatis">MyBatis</a> / camel-mybatis
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-mybatis://statementName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Performs a query, poll, insert, update or delete in a relational database using <a shape="rect" class="external-link" href="http://mybatis.org/" rel="nofollow">MyBatis</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="nagios.html" title="Nagios">Nagios</a> / camel-nagios
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-nagios://host[:port]?options
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending passive checks to <a shape="rect" class="external-link" href="http://www.nagios.org/" rel="nofollow">Nagios</a> using <a shape="rect" class="external-link" href="http://code.google.com/p/jsendnsca/" rel="nofollow">JSendNSCA</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="netty.html" title="Netty">Netty</a> / camel-netty
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-netty:tcp//host[:port]?options
-netty:udp//host[:port]?options
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with TCP and UDP protocols using Java NIO based capabilities offered by the <a shape="rect" class="external-link" href="http://netty.io/" rel="nofollow">Netty</a> project </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="netty-http.html" title="Netty HTTP">Netty HTTP</a> / camel-netty-http
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-netty-http:http:[port]/context-path?options
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Netty HTTP server and client using the <a shape="rect" class="external-link" href="http://netty.io/" rel="nofollow">Netty</a> project </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="pax-logging.html" title="Pax-Logging">Pax-Logging</a> / camel-paxlogging
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-paxlogging:appender
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Receiving Pax-Logging events in OSGi </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mail.html" title="Mail">POP</a> / camel-mail
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-pop3://user-info@host:port
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Receiving email using POP3 and JavaMail </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="printer.html" title="Printer">Printer</a> / camel-printer
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-lpr://host:port/path/to/printer[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> The printer component facilitates creation of printer endpoints to local, remote and wireless printers. The endpoints provide the ability to print camel directed payloads when utilized on camel routes. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="properties.html" title="Properties">Properties</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-properties://key[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> The properties component facilitates using property placeholders directly in endpoint uri definitions. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="quartz.html" title="Quartz">Quartz</a> / camel-quartz
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-quartz://groupName/timerName
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Provides a scheduled delivery of messages using the <a shape="rect" class="external-link" href="http://www.quartz-scheduler.org/" rel="nofollow">Quartz scheduler</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="quickfix.html" title="Quickfix">Quickfix</a> / camel-quickfix
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-quickfix-server:config file
-quickfix-client:config-file
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Implementation of the QuickFix for Java engine which allow to send/receive <a shape="rect" class="external-link" href="http://www.fixprotocol.org" rel="nofollow">FIX</a> messages </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="ref.html" title="Ref">Ref</a> / camel-core
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-ref:name
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Component for lookup of existing endpoints bound in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="restlet.html" title="Restlet">Restlet</a> / camel-restlet
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-restlet:restletUrl[?options]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Component for consuming and producing Restful resources using <a shape="rect" class="external-link" href="http://www.restlet.org" rel="nofollow">Restlet</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="rmi.html" title="RMI">RMI</a> / camel-rmi
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-rmi://host[:port]
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with RMI </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jing.html" title="Jing">RNC</a> / camel-jing
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-rnc:/relativeOrAbsoluteUri
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Validates the payload of a message using <a shape="rect" class="external-link" href="http://relaxng.org/compact-tutorial-20030326.html" rel="nofollow">RelaxNG Compact Syntax</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="jing.html" title="Jing">RNG</a> / camel-jing
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-rng:/relativeOrAbsoluteUri
-</pre>
-</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Validates the payload of a message using <a shape="rect" class="external-link" href="http://relaxng.org/" rel="nofollow">RelaxNG</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="routebox.html" title="Routebox">Routebox</a> / camel-routebox
[... 47006 lines stripped ...]