Author: buildbot
Date: Mon Mar 21 18:22:45 2016
New Revision: 983358

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-cookbook.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/kafka.html
    websites/production/camel/content/testing.html

Modified: websites/production/camel/content/book-cookbook.html
==============================================================================
--- websites/production/camel/content/book-cookbook.html (original)
+++ websites/production/camel/content/book-cookbook.html Mon Mar 21 18:22:45 
2016
@@ -1351,7 +1351,7 @@ public class IsMockEndpointsAndSkipJUnit
 ]]></script>
 </div></div><div class="confluence-information-macro 
confluence-information-macro-tip"><p class="title">time units</p><span 
class="aui-icon aui-icon-small aui-iconfont-approve 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>In the example above we use 
<code>seconds</code> as the time unit, but Camel offers 
<code>milliseconds</code>, and <code>minutes</code> as 
well.</p></div></div><p></p><h3 id="Bookcookbook-SeeAlso">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul><li><a 
shape="rect" href="spring-testing.html">Spring Testing</a></li><li><a 
shape="rect" href="testing.html">Testing</a></li></ul>
-<h2 id="Bookcookbook-Testing">Testing</h2><p>Testing is a crucial activity in 
any piece of software development or integration. Typically Camel Riders use 
various different <a shape="rect" href="components.html">technologies</a> wired 
together in a variety of <a shape="rect" 
href="enterprise-integration-patterns.html">patterns</a> with different <a 
shape="rect" href="languages.html">expression languages</a> together with 
different forms of <a shape="rect" href="bean-integration.html">Bean 
Integration</a> and <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a> so its very easy for things to go wrong! <img class="emoticon 
emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png";
 data-emoticon-name="smile" alt="(smile)"> . Testing is the crucial weapon to 
ensure that things work as you would expect.</p><p>Camel is a Java library so 
you can easily wire up tests in whatever un
 it testing framework you use (JUnit 3.x (deprecated), 4.x, or TestNG). However 
the Camel project has tried to make the testing of Camel as easy and powerful 
as possible so we have introduced the following features.</p><h3 
id="Bookcookbook-Testingmechanisms">Testing mechanisms</h3><p>The following 
mechanisms are supported:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Component</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="camel-test.html">Camel Test</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Is a standalone Java library letting you 
easily create Camel test cases using a single Java class for all your 
configuration and routing w
 ithout using <a shape="rect" href="cdi.html">CDI</a>, <a shape="rect" 
href="spring.html">Spring</a> or <a shape="rect" href="guice.html">Guice</a> 
for <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a>&#160;which does not require an in-depth knowledge of Spring + 
Spring Test or Guice. &#160;Supports JUnit 3.x (deprecated) and JUnit 4.x based 
tests.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a 
shape="rect" href="cdi-testing.html">CDI Testing</a></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><code><span>camel-test-cdi</span></code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>Provides a JUnit 4 runner 
that bootstraps a test environment using CDI so that you don't have to be 
familiar with any CDI testing frameworks and can concentrate on the testing 
logic of your Camel CDI applications. Testing frameworks like&#160;</span><a 
shape="rect" class="external-link" href="http://arquillian.org/"; 
rel="nofollow">Arquillian</a><
 span>&#160;or&#160;</span><a shape="rect" class="external-link" 
href="https://ops4j1.jira.com/wiki/display/PAXEXAM4"; rel="nofollow">PAX 
Exam</a><span>, can be used for more advanced test cases, where you need to 
configure your system under test in a very fine-grained way or target specific 
CDI containers.</span></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="spring-testing.html">Spring 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-spring</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports JUnit 3.x (deprecated) or JUnit 
4.x based tests that bootstrap a test environment using Spring without needing 
to be familiar with Spring Test. The plain JUnit 3.x/4.x based tests work very 
similar to the test support classes in <code>camel-test</code>. Also supports 
Spring Test based tests that use the declarative style of test configuration 
and injection common in Spring Test. The Spring Tes
 t based tests provide feature parity with the plain JUnit 3.x/4.x based 
testing approach. Notice <code>camel-test-spring</code> is a new component in 
<strong>Camel 2.10</strong> onwards. For older Camel release use 
<code>camel-test</code> which has built-in <a shape="rect" 
href="spring-testing.html">Spring Testing</a>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="blueprint-testing.html">Blueprint Testing</a></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>camel-test-blueprint</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> 
Provides the ability to do unit testing on blueprint 
configurations</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="guice.html">Guice</a></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-guice</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Uses <a shape="rect" href="gui
 ce.html">Guice</a> to dependency inject your test classes</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Camel TestNG</p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-testng</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports plain TestNG based tests&#160;with 
or without <a shape="rect" href="cdi.html">CDI</a>,&#160;<a shape="rect" 
href="spring.html">Spring</a>&#160;or&#160;<a shape="rect" 
href="guice.html">Guice</a>&#160;for&#160;<a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of CDI, Spring + Spring Test or Guice. &#160;Also 
from <strong>Camel 2.10</strong> onwards, this component supports Spring 
Test&#160;based tests that use the declarative style of test configuration and 
injection common in Spring Test and described in more detail under <a 
shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr></tbody></table></div><p
 >In all approaches the test classes look pretty much the same in that they all 
 >reuse the <a shape="rect" href="bean-integration.html">Camel binding and 
 >injection annotations</a>.</p><h4 id="Bookcookbook-CamelTestExample">Camel 
 >Test Example</h4><p>Here is the <a shape="rect" href="camel-test.html">Camel 
 >Test</a> <a shape="rect" class="external-link" 
 >href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-test/src/test/java/org/apache/camel/test/patterns/FilterTest.java";>example</a>:</p><div
 > class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
 >panelContent pdl">
+<h2 id="Bookcookbook-Testing">Testing</h2><p>Testing is a crucial activity in 
any piece of software development or integration. Typically Camel Riders use 
various different <a shape="rect" href="components.html">technologies</a> wired 
together in a variety of <a shape="rect" 
href="enterprise-integration-patterns.html">patterns</a> with different <a 
shape="rect" href="languages.html">expression languages</a> together with 
different forms of <a shape="rect" href="bean-integration.html">Bean 
Integration</a> and <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a> so its very easy for things to go wrong! <img class="emoticon 
emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png";
 data-emoticon-name="smile" alt="(smile)"> . Testing is the crucial weapon to 
ensure that things work as you would expect.</p><p>Camel is a Java library so 
you can easily wire up tests in whatever un
 it testing framework you use (JUnit 3.x (deprecated), 4.x, or TestNG). However 
the Camel project has tried to make the testing of Camel as easy and powerful 
as possible so we have introduced the following features.</p><h3 
id="Bookcookbook-Testingmechanisms">Testing mechanisms</h3><p>The following 
mechanisms are supported:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Component</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="camel-test.html">Camel Test</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Is a standalone Java library letting you 
easily create Camel test cases using a single Java class for all your 
configuration and routing w
 ithout using <a shape="rect" href="cdi.html">CDI</a>, <a shape="rect" 
href="spring.html">Spring</a> or <a shape="rect" href="guice.html">Guice</a> 
for <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a>&#160;which does not require an in-depth knowledge of Spring + 
Spring Test or Guice. &#160;Supports JUnit 3.x (deprecated) and JUnit 4.x based 
tests.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a 
shape="rect" href="cdi-testing.html">CDI Testing</a></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>camel-test-cdi</code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>Provides a JUnit 4 runner 
that bootstraps a test environment using CDI so that you don't have to be 
familiar with any CDI testing frameworks and can concentrate on the testing 
logic of your Camel CDI applications. Testing frameworks like&#160;</span><a 
shape="rect" class="external-link" href="http://arquillian.org/"; 
rel="nofollow">Arquillian</a><span>&#160;or
 &#160;</span><a shape="rect" class="external-link" 
href="https://ops4j1.jira.com/wiki/display/PAXEXAM4"; rel="nofollow">PAX 
Exam</a><span>, can be used for more advanced test cases, where you need to 
configure your system under test in a very fine-grained way or target specific 
CDI containers.</span></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="spring-testing.html">Spring 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-spring</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports JUnit 3.x (deprecated) or JUnit 
4.x based tests that bootstrap a test environment using Spring without needing 
to be familiar with Spring Test. The plain JUnit 3.x/4.x based tests work very 
similar to the test support classes in <code>camel-test</code>. Also supports 
Spring Test based tests that use the declarative style of test configuration 
and injection common in Spring Test. The Spring Test based tests
  provide feature parity with the plain JUnit 3.x/4.x based testing approach. 
Notice <code>camel-test-spring</code> is a new component in <strong>Camel 
2.10</strong> onwards. For older Camel release use <code>camel-test</code> 
which has built-in <a shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="blueprint-testing.html">Blueprint 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-blueprint</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> 
Provides the ability to do unit testing on blueprint 
configurations</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="guice.html">Guice</a></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-guice</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Uses <a shape="rect" href="guice.html">Guic
 e</a> to dependency inject your test classes</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Camel TestNG</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>camel-testng</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Supports plain TestNG based 
tests&#160;with or without <a shape="rect" href="cdi.html">CDI</a>,&#160;<a 
shape="rect" href="spring.html">Spring</a>&#160;or&#160;<a shape="rect" 
href="guice.html">Guice</a>&#160;for&#160;<a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of CDI, Spring + Spring Test or Guice. &#160;Also 
from <strong>Camel 2.10</strong> onwards, this component supports Spring 
Test&#160;based tests that use the declarative style of test configuration and 
injection common in Spring Test and described in more detail under <a 
shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr></tbody></table></div><p>In all appro
 aches the test classes look pretty much the same in that they all reuse the <a 
shape="rect" href="bean-integration.html">Camel binding and injection 
annotations</a>.</p><h4 id="Bookcookbook-CamelTestExample">Camel Test 
Example</h4><p>Here is the <a shape="rect" href="camel-test.html">Camel 
Test</a> <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-test/src/test/java/org/apache/camel/test/patterns/FilterTest.java";>example</a>:</p><div
 class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 // tag::example[]
 public class FilterTest extends CamelTestSupport {

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 Mar 21 18:22:45 
2016
@@ -2399,7 +2399,7 @@ public class IsMockEndpointsAndSkipJUnit
 ]]></script>
 </div></div><div class="confluence-information-macro 
confluence-information-macro-tip"><p class="title">time units</p><span 
class="aui-icon aui-icon-small aui-iconfont-approve 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>In the example above we use 
<code>seconds</code> as the time unit, but Camel offers 
<code>milliseconds</code>, and <code>minutes</code> as 
well.</p></div></div><p></p><h3 id="BookInOnePage-SeeAlso">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul><li><a 
shape="rect" href="spring-testing.html">Spring Testing</a></li><li><a 
shape="rect" href="testing.html">Testing</a></li></ul>
-<h2 id="BookInOnePage-Testing">Testing</h2><p>Testing is a crucial activity in 
any piece of software development or integration. Typically Camel Riders use 
various different <a shape="rect" href="components.html">technologies</a> wired 
together in a variety of <a shape="rect" 
href="enterprise-integration-patterns.html">patterns</a> with different <a 
shape="rect" href="languages.html">expression languages</a> together with 
different forms of <a shape="rect" href="bean-integration.html">Bean 
Integration</a> and <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a> so its very easy for things to go wrong! <img class="emoticon 
emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png";
 data-emoticon-name="smile" alt="(smile)"> . Testing is the crucial weapon to 
ensure that things work as you would expect.</p><p>Camel is a Java library so 
you can easily wire up tests in whatever u
 nit testing framework you use (JUnit 3.x (deprecated), 4.x, or TestNG). 
However the Camel project has tried to make the testing of Camel as easy and 
powerful as possible so we have introduced the following features.</p><h3 
id="BookInOnePage-Testingmechanisms">Testing mechanisms</h3><p>The following 
mechanisms are supported:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Component</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="camel-test.html">Camel Test</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Is a standalone Java library letting you 
easily create Camel test cases using a single Java class for all your 
configuration and routing
  without using <a shape="rect" href="cdi.html">CDI</a>, <a shape="rect" 
href="spring.html">Spring</a> or <a shape="rect" href="guice.html">Guice</a> 
for <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a>&#160;which does not require an in-depth knowledge of Spring + 
Spring Test or Guice. &#160;Supports JUnit 3.x (deprecated) and JUnit 4.x based 
tests.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a 
shape="rect" href="cdi-testing.html">CDI Testing</a></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><code><span>camel-test-cdi</span></code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>Provides a JUnit 4 runner 
that bootstraps a test environment using CDI so that you don't have to be 
familiar with any CDI testing frameworks and can concentrate on the testing 
logic of your Camel CDI applications. Testing frameworks like&#160;</span><a 
shape="rect" class="external-link" href="http://arquillian.org/"; 
rel="nofollow">Arquillian</a
 ><span>&#160;or&#160;</span><a shape="rect" class="external-link" 
 >href="https://ops4j1.jira.com/wiki/display/PAXEXAM4"; rel="nofollow">PAX 
 >Exam</a><span>, can be used for more advanced test cases, where you need to 
 >configure your system under test in a very fine-grained way or target 
 >specific CDI containers.</span></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><a shape="rect" href="spring-testing.html">Spring 
 >Testing</a></p></td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><code>camel-test-spring</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Supports JUnit 3.x 
 >(deprecated) or JUnit 4.x based tests that bootstrap a test environment using 
 >Spring without needing to be familiar with Spring Test. The plain JUnit 
 >3.x/4.x based tests work very similar to the test support classes in 
 ><code>camel-test</code>. Also supports Spring Test based tests that use the 
 >declarative style of test configuration and injection common in Spring Test. 
 >The Spring T
 est based tests provide feature parity with the plain JUnit 3.x/4.x based 
testing approach. Notice <code>camel-test-spring</code> is a new component in 
<strong>Camel 2.10</strong> onwards. For older Camel release use 
<code>camel-test</code> which has built-in <a shape="rect" 
href="spring-testing.html">Spring Testing</a>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="blueprint-testing.html">Blueprint Testing</a></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>camel-test-blueprint</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> 
Provides the ability to do unit testing on blueprint 
configurations</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="guice.html">Guice</a></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-guice</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Uses <a shape="rect" href="g
 uice.html">Guice</a> to dependency inject your test 
classes</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Camel TestNG</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-testng</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports plain TestNG based tests&#160;with 
or without <a shape="rect" href="cdi.html">CDI</a>,&#160;<a shape="rect" 
href="spring.html">Spring</a>&#160;or&#160;<a shape="rect" 
href="guice.html">Guice</a>&#160;for&#160;<a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of CDI, Spring + Spring Test or Guice. &#160;Also 
from <strong>Camel 2.10</strong> onwards, this component supports Spring 
Test&#160;based tests that use the declarative style of test configuration and 
injection common in Spring Test and described in more detail under <a 
shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr></tbody></table></div>
 <p>In all approaches the test classes look pretty much the same in that they 
all reuse the <a shape="rect" href="bean-integration.html">Camel binding and 
injection annotations</a>.</p><h4 id="BookInOnePage-CamelTestExample">Camel 
Test Example</h4><p>Here is the <a shape="rect" href="camel-test.html">Camel 
Test</a> <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-test/src/test/java/org/apache/camel/test/patterns/FilterTest.java";>example</a>:</p><div
 class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<h2 id="BookInOnePage-Testing">Testing</h2><p>Testing is a crucial activity in 
any piece of software development or integration. Typically Camel Riders use 
various different <a shape="rect" href="components.html">technologies</a> wired 
together in a variety of <a shape="rect" 
href="enterprise-integration-patterns.html">patterns</a> with different <a 
shape="rect" href="languages.html">expression languages</a> together with 
different forms of <a shape="rect" href="bean-integration.html">Bean 
Integration</a> and <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a> so its very easy for things to go wrong! <img class="emoticon 
emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png";
 data-emoticon-name="smile" alt="(smile)"> . Testing is the crucial weapon to 
ensure that things work as you would expect.</p><p>Camel is a Java library so 
you can easily wire up tests in whatever u
 nit testing framework you use (JUnit 3.x (deprecated), 4.x, or TestNG). 
However the Camel project has tried to make the testing of Camel as easy and 
powerful as possible so we have introduced the following features.</p><h3 
id="BookInOnePage-Testingmechanisms">Testing mechanisms</h3><p>The following 
mechanisms are supported:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Component</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="camel-test.html">Camel Test</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Is a standalone Java library letting you 
easily create Camel test cases using a single Java class for all your 
configuration and routing
  without using <a shape="rect" href="cdi.html">CDI</a>, <a shape="rect" 
href="spring.html">Spring</a> or <a shape="rect" href="guice.html">Guice</a> 
for <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a>&#160;which does not require an in-depth knowledge of Spring + 
Spring Test or Guice. &#160;Supports JUnit 3.x (deprecated) and JUnit 4.x based 
tests.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a 
shape="rect" href="cdi-testing.html">CDI Testing</a></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>camel-test-cdi</code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>Provides a JUnit 4 runner 
that bootstraps a test environment using CDI so that you don't have to be 
familiar with any CDI testing frameworks and can concentrate on the testing 
logic of your Camel CDI applications. Testing frameworks like&#160;</span><a 
shape="rect" class="external-link" href="http://arquillian.org/"; 
rel="nofollow">Arquillian</a><span>&#160;
 or&#160;</span><a shape="rect" class="external-link" 
href="https://ops4j1.jira.com/wiki/display/PAXEXAM4"; rel="nofollow">PAX 
Exam</a><span>, can be used for more advanced test cases, where you need to 
configure your system under test in a very fine-grained way or target specific 
CDI containers.</span></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="spring-testing.html">Spring 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-spring</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports JUnit 3.x (deprecated) or JUnit 
4.x based tests that bootstrap a test environment using Spring without needing 
to be familiar with Spring Test. The plain JUnit 3.x/4.x based tests work very 
similar to the test support classes in <code>camel-test</code>. Also supports 
Spring Test based tests that use the declarative style of test configuration 
and injection common in Spring Test. The Spring Test based tes
 ts provide feature parity with the plain JUnit 3.x/4.x based testing approach. 
Notice <code>camel-test-spring</code> is a new component in <strong>Camel 
2.10</strong> onwards. For older Camel release use <code>camel-test</code> 
which has built-in <a shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="blueprint-testing.html">Blueprint 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-blueprint</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> 
Provides the ability to do unit testing on blueprint 
configurations</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="guice.html">Guice</a></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-guice</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Uses <a shape="rect" href="guice.html">Gu
 ice</a> to dependency inject your test classes</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Camel TestNG</p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-testng</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports plain TestNG based tests&#160;with 
or without <a shape="rect" href="cdi.html">CDI</a>,&#160;<a shape="rect" 
href="spring.html">Spring</a>&#160;or&#160;<a shape="rect" 
href="guice.html">Guice</a>&#160;for&#160;<a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of CDI, Spring + Spring Test or Guice. &#160;Also 
from <strong>Camel 2.10</strong> onwards, this component supports Spring 
Test&#160;based tests that use the declarative style of test configuration and 
injection common in Spring Test and described in more detail under <a 
shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr></tbody></table></div><p>In all app
 roaches the test classes look pretty much the same in that they all reuse the 
<a shape="rect" href="bean-integration.html">Camel binding and injection 
annotations</a>.</p><h4 id="BookInOnePage-CamelTestExample">Camel Test 
Example</h4><p>Here is the <a shape="rect" href="camel-test.html">Camel 
Test</a> <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-test/src/test/java/org/apache/camel/test/patterns/FilterTest.java";>example</a>:</p><div
 class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 // tag::example[]
 public class FilterTest extends CamelTestSupport {
@@ -3724,11 +3724,11 @@ The tutorial has been designed in two pa
 While not actual tutorials you might find working through the source of the 
various <a shape="rect" href="examples.html">Examples</a> useful.</li></ul>
 
 <h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring 
Remoting with JMS</h2><p>&#160;</p><div class="confluence-information-macro 
confluence-information-macro-information"><p class="title">Thanks</p><span 
class="aui-icon aui-icon-small aui-iconfont-info 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>This tutorial was kindly donated 
to Apache Camel by Martin Gilday.</p></div></div><h2 
id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the 
reader through the stages of creating a project which uses Camel to facilitate 
the routing of messages from a JMS queue to a <a shape="rect" 
class="external-link" href="http://www.springramework.org"; 
rel="nofollow">Spring</a> service. The route works in a synchronous fashion 
returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1458573534983 {padding: 0px;}
-div.rbtoc1458573534983 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1458573534983 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1458584354511 {padding: 0px;}
+div.rbtoc1458584354511 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1458584354511 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1458573534983">
+/*]]>*/</style></p><div class="toc-macro rbtoc1458584354511">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring 
Remoting with JMS</a></li><li><a shape="rect" 
href="#BookInOnePage-Preface">Preface</a></li><li><a shape="rect" 
href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" 
href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" 
href="#BookInOnePage-About">About</a></li><li><a shape="rect" 
href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-UpdatethePOMwithDependencies">Update the POM with 
Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing the 
Server</a>
@@ -5843,11 +5843,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards. 
Apache Axis 1.4 is a very old and unsupported framework. We encourage users to 
use <a shape="rect" href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1458573536466 {padding: 0px;}
-div.rbtoc1458573536466 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1458573536466 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1458584355616 {padding: 0px;}
+div.rbtoc1458584355616 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1458584355616 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1458573536466">
+/*]]>*/</style><div class="toc-macro rbtoc1458584355616">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 
1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" 
href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" 
href="#BookInOnePage-Introduction">Introduction</a></li><li><a shape="rect" 
href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project to 
run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-Maven2">Maven 2</a></li><li><a shape="rect" 
href="#BookInOnePage-wsdl">wsdl</a></li><li><a shape="rect" 
href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a 
shape="rect" href="#BookInOnePage-RunningtheExample">Running the 
Example</a></li></ul>
@@ -17276,11 +17276,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul><li><a 
shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a 
shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 
id="BookInOnePage-CXFComponent">CXF Component</h2><div 
class="confluence-information-macro confluence-information-macro-note"><span 
class="aui-icon aui-icon-small aui-iconfont-warning 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>When using CXF as a consumer, the 
<a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows 
you to factor out how message payloads are received from their processing as a 
RESTful or SOAP web service. This has the potential of using a multitude of 
transports to consume web 
 services. The bean component's configuration is also simpler and provides the 
fastest method to implement web services using Camel and 
CXF.</p></div></div><div class="confluence-information-macro 
confluence-information-macro-tip"><span class="aui-icon aui-icon-small 
aui-iconfont-approve confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>When using CXF in streaming modes 
(see DataFormat option), then also read about <a shape="rect" 
href="stream-caching.html">Stream caching</a>.</p></div></div><p>The 
<strong>cxf:</strong> component provides integration with <a shape="rect" 
href="http://cxf.apache.org";>Apache CXF</a> for connecting to JAX-WS services 
hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1458573589277 {padding: 0px;}
-div.rbtoc1458573589277 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1458573589277 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1458584427138 {padding: 0px;}
+div.rbtoc1458584427138 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1458584427138 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1458573589277">
+/*]]>*/</style></p><div class="toc-macro rbtoc1458584427138">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-URIformat">URI format</a></li><li><a shape="rect" 
href="#BookInOnePage-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookInOnePage-Thedescriptionsofthedataformats">The descriptions of the 
dataformats</a>

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/kafka.html
==============================================================================
--- websites/production/camel/content/kafka.html (original)
+++ websites/production/camel/content/kafka.html Mon Mar 21 18:22:45 2016
@@ -102,7 +102,7 @@
 </div></div><h3 id="Kafka-URIformat">URI format</h3><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[kafka:server:port[?options]
 ]]></script>
-</div></div><p>&#160;</p><h3 id="Kafka-Options">Options</h3><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>zookeeperHost</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The zookeeper host to use</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>zookeeperPort</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>2181</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The zookeeper port to 
use</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">zookeeperConnect</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" row
 span="1" class="confluenceTd"><strong>Camel 2.13.3/2.14.1:</strong> If in use, 
then zookeeperHost/zookeeperPort is not used.</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>topic</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The topic to use</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>groupId</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>partitioner</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>consumerStreams</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">10</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="conflu
 enceTd"><p>clientId</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>zookeeperSessionTimeoutMs</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>zookeeperConnectionTimeoutMs</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>zookeeperSyncTimeMs</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">consumersCount</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: rgb(51,5
 1,51);">1</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15.0:</strong> The number of consumers 
that connect to kafka server</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">batchSize</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">100</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15.0: </strong>The batchSize that the 
BatchingConsumerTask processes once.<strong><br 
clear="none"></strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">barrierAwaitTimeoutMs</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">10000</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15.0: </strong>If the 
BatchingConsumerTask processes exchange exceed the batchSize, it will wait for 
<s
 pan style="color: rgb(51,51,51);">barrierAwaitTimeoutMs</span>.<strong><br 
clear="none"></strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">bridgeEndpoint</td><td colspan="1" rowspan="1" 
class="confluenceTd">false</td><td colspan="1" rowspan="1" 
class="confluenceTd">Camel 2.16.0: If the bridgeEndpoint is true, the producer 
will ignore the topic header setting of the 
message.</td></tr></tbody></table></div></div><p>You can append query options 
to the URI in the following format, 
<code>?option=value&amp;option=value&amp;...</code></p><h3 
id="Kafka-ProducerOptions">Producer Options</h3><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>producerType<
 /p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>sync (Taken from 
native KafkaProducer class)</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>sync - send message/batch immediately, and wait until 
response is received</p><p>async - queue the message/batch to send. There is a 
thread per broker (Kafka node) which polls from this queue upon 
<span>queueBufferingMaxMs or 
<span>batchNumMessages</span></span></p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">compressionCodec</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">compressedTopics</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">messageSendMaxRetries</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" row
 span="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">retryBackoffMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">topicMetadataRefreshIntervalMs</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">sendBufferBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">requestRequiredAcks</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">requestTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td col
 span="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">queueBufferingMaxMs</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queueBufferingMaxMessages</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queueEnqueueTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">batchNumMessages</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">serializerClass</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#16
 0;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">keySerializerClass</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr></tbody></table></div></div><h3 
id="Kafka-ConsumerOptions">Consumer Options</h3><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>consumerId</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">socketTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&
 #160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">socketReceiveBufferBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">fetchMessageMaxBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">autoCommitEnable</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">autoCommitIntervalMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queuedMaxMessages</td><td colspan="1" rowspan="1" class="
 confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">rebalanceMaxRetries</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">fetchMinBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">fetchWaitMaxMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">rebalanceBackoffMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">refreshLeaderBackoffMs</td><td colspan="1" rowspan="1" cla
 ss="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">autoOffsetReset</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">consumerTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr></tbody></table></div></div><h3 
id="Kafka-Samples">Samples</h3><p>Consuming messages:</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>&#160;</p><h3 id="Kafka-Options(Camel2.16orolder)">Options 
(Camel 2.16 or older)</h3><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>zookeeperHost</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The zookeeper host to use</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>zookeeperPort</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>2181</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>The zookeeper port to 
use</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">zookeeperConnect</td><td colspan="1" rowspan="1" 
class="conf
 luenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd"><strong>Camel 2.13.3/2.14.1:</strong> If in use, then 
zookeeperHost/zookeeperPort is not used.</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>topic</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>The topic to use</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>groupId</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>partitioner</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>consumerStreams</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">10</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><
 td colspan="1" rowspan="1" class="confluenceTd"><p>clientId</p></td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>zookeeperSessionTimeoutMs</p></td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>zookeeperConnectionTimeoutMs</p></td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>zookeeperSyncTimeMs</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">consumersCount</span></p></td><td colspan="1" rowspan="1" 
class="confl
 uenceTd"><p><span style="color: rgb(51,51,51);">1</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.15.0:</strong> 
The number of consumers that connect to kafka server</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">batchSize</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">100</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15.0: </strong>The batchSize that the 
BatchingConsumerTask processes once.<strong><br 
clear="none"></strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">barrierAwaitTimeoutMs</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span style="color: 
rgb(51,51,51);">10000</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><strong>Camel 2.15.0: </strong>If the 
BatchingConsumerTask processes exchange e
 xceed the batchSize, it will wait for <span style="color: 
rgb(51,51,51);">barrierAwaitTimeoutMs</span>.<strong><br 
clear="none"></strong></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">bridgeEndpoint</td><td colspan="1" rowspan="1" 
class="confluenceTd">false</td><td colspan="1" rowspan="1" 
class="confluenceTd">Camel 2.16.0: If the bridgeEndpoint is true, the producer 
will ignore the topic header setting of the 
message.</td></tr></tbody></table></div></div><p>You can append query options 
to the URI in the following format, 
<code>?option=value&amp;option=value&amp;...</code></p><h3 
id="Kafka-ProducerOptions(Camel2.16orolder)">Producer Options&#160;(Camel 2.16 
or older)</h3><div class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Descripti
 on</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>producerType</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>sync (Taken from native KafkaProducer 
class)</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>sync - send 
message/batch immediately, and wait until response is received</p><p>async - 
queue the message/batch to send. There is a thread per broker (Kafka node) 
which polls from this queue upon <span>queueBufferingMaxMs or 
<span>batchNumMessages</span></span></p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">compressionCodec</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">compressedTopics</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">messageSendMaxRetrie
 s</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">retryBackoffMs</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">topicMetadataRefreshIntervalMs</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">sendBufferBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">requestRequiredAcks</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">req
 uestTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queueBufferingMaxMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queueBufferingMaxMessages</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queueEnqueueTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">batchNumMessages</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="co
 nfluenceTd">serializerClass</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">keySerializerClass</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr></tbody></table></div></div><h3 
id="Kafka-ConsumerOptions(Camel2.16orolder)">Consumer Options&#160;(Camel 2.16 
or older)</h3><div class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>consumerId</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</t
 d></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">socketTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">socketReceiveBufferBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">fetchMessageMaxBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">autoCommitEnable</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">autoCommitIntervalMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluence
 Td">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">queuedMaxMessages</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">rebalanceMaxRetries</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">fetchMinBytes</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">fetchWaitMaxMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">rebalanceBackoffMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceT
 d">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">refreshLeaderBackoffMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">autoOffsetReset</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">consumerTimeoutMs</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr></tbody></table></div></div><h3 
id="Kafka-Options(Camel2.17ornewer)">Options (Camel 2.17 or newer)</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh">Property</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colsp
 an="1" rowspan="1" class="confluenceTd"><p class="p1"><span 
class="s1">topic</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" 
class="confluenceTd">Topic to use</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><span class="s1">groupId</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p class="p1"><span 
class="s1">consumerStreams</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">10</td><td colspan="1" rowspan="1" 
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><span class="s1">clientId</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" 
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p class="p1"><span 
 class="s1">consumersCount</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">1</td><td colspan="1" rowspan="1" class="confluenceTd"><p 
class="p1"><span class="s1">The number of consumers that connect to kafka 
server</span></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><span 
class="s1">batchSize</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">100</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><span class="s1">Commit Size if auto commit 
is false</span></p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p class="p1"><span 
class="s1">bridgeEndpoint</span></p></td><td colspan="1" rowspan="1" 
class="confluenceTd">false</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>Camel 2.16.0: If the bridgeEndpoint is true, the 
producer will ignore the topic header setting of the 
message.</span></td></tr></tbody></table></div><p>&#160;</p><h3 
id="Kafka-ProducerOptions(Camel2.17ornewer)">Produce
 r Options&#160;(Camel 2.17 or newer)</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Property</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default &amp; Description Reference</th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>keyDeserializer</p></td><td 
colspan="1" rowspan="46" class="confluenceTd"><p class="p1"><span 
class="s1"><span 
class="nolink">http://kafka.apache.org/documentation.html#producerconfigs</span></span></p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p>keyDeserializer</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>requestRequiredAcks&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>bufferMemorySize&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>compressionCodec&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>retries&#160;</p></td></tr><tr><td colspan="1"
  rowspan="1" class="confluenceTd"><p>sslKeyPassword</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslKeystoreLocation</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslKeystorePassword</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslTruststoreLocation</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslTruststorePassword</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>producerBatchSize&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>clientId</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>connectionMaxIdleMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>lingerMs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>maxBlockMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>maxRequestSize&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="conflue
 nceTd"><p>partitioner&#160;</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>receiveBufferBytes&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>requestTimeoutMs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>saslKerberosServiceName</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>securityProtocol</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sendBufferBytes&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslEnabledProtocols&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslKeystoreType&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslProtocol&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslProvider</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslTruststoreType</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>tim
 eoutMs&#160;</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>blockOnBufferFull&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>maxInFlightRequest&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>metadataFetchTimeoutMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>metadataMaxAgeMs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>metricReporters</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>noOfMetricsSample&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>metricsSampleWindowMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>reconnectBackoffMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>retryBackoffMs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>kerberosInitCmd&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confl
 uenceTd"><p>kerberosBeforeReloginMinTime&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>kerberosRenewJitter&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>kerberosRenewWindowFactor&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslCipherSuites</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslEndpointAlgorithm</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslKeymanagerAlgorithm&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslTrustmanagerAlgorithm&#160;</p></td></tr></tbody></table></div><h3
 id="Kafka-ConsumerOptions(Camel2.17ornewer)">Consumer Options&#160;(Camel 2.17 
or newer)</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Property</th><th colspan="1" rowspan="1" 
class="confluenceTh">Default &amp; Description Reference</th></tr><tr><td 
colspan="1" rowspan
 ="1" class="confluenceTd"><p>bootstrapServers</p></td><td colspan="1" 
rowspan="45" class="confluenceTd"><p class="p1"><span class="s1"><span 
class="nolink">http://kafka.apache.org/documentation.html#newconsumerconfigs</span></span></p></td></tr><tr><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p>keyDeserializer</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>valueDeserializer</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>fetchMinBytes&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>groupId</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>heartbeatIntervalMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>maxPartitionFetchBytes&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sessionTimeoutMs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslKeyPassword</p></td></tr><tr><td 
colspan="1" rowspan="1" class="conflu
 enceTd"><p>sslKeystoreLocation</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>sslKeystorePassword</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslTruststoreLocation</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslTruststorePassword</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>autoOffsetReset&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>connectionMaxIdleMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>autoCommitEnable&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>partitionAssignor&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>receiveBufferBytes&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>consumerRequestTimeoutMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>saslKerberosServiceName</p></td></tr><tr><td 
colspan="1" rows
 pan="1" class="confluenceTd"><p>securityProtocol</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sendBufferBytes&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>sslEnabledProtocols&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslKeystoreType&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslProtocol&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslProvider</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>sslTruststoreType</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>autoCommitIntervalMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>checkCrcs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>clientId</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>fetchWaitMaxMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><
 p>metadataMaxAgeMs&#160;</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>metricReporters</p></td></tr><tr><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p>noOfMetricsSample&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>metricsSampleWindowMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>reconnectBackoffMs&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>retryBackoffMs&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p>kerberosInitCmd&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>kerberosBeforeReloginMinTime&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>kerberosRenewJitter&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>kerberosRenewWindowFactor&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslCipherSuites</p></td></tr><tr><td colspan="1" rows
 pan="1" class="confluenceTd"><p>sslEndpointAlgorithm</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslKeymanagerAlgorithm&#160;</p></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p>sslTrustmanagerAlgorithm&#160;</p></td></tr></tbody></table></div><p>&#160;</p><h3
 id="Kafka-Samples">Samples</h3><h4 id="Kafka-Camel2.16orolder.1">Camel 2.16 or 
older</h4><p>Consuming messages:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[from(&quot;kafka:localhost:9092?topic=test&amp;zookeeperHost=localhost&amp;zookeeperPort=2181&amp;groupId=group1&quot;).to(&quot;log:input&quot;);
 ]]></script>
 </div></div><p>Producing messages:</p><p>See unit tests of camel-kafka for 
more examples</p><p></p><h2 id="Kafka-Endpoints">Endpoints</h2>

Modified: websites/production/camel/content/testing.html
==============================================================================
--- websites/production/camel/content/testing.html (original)
+++ websites/production/camel/content/testing.html Mon Mar 21 18:22:45 2016
@@ -86,7 +86,7 @@
        <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 
id="Testing-Testing">Testing</h2><p>Testing is a crucial activity in any piece 
of software development or integration. Typically Camel Riders use various 
different <a shape="rect" href="components.html">technologies</a> wired 
together in a variety of <a shape="rect" 
href="enterprise-integration-patterns.html">patterns</a> with different <a 
shape="rect" href="languages.html">expression languages</a> together with 
different forms of <a shape="rect" href="bean-integration.html">Bean 
Integration</a> and <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a> so its very easy for things to go wrong! <img class="emoticon 
emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png";
 data-emoticon-name="smile" alt="(smile)"> . Testing is the crucial weapon to 
ensure that things work as you would expect.</p><p>Camel is a Java library so 
you can ea
 sily wire up tests in whatever unit testing framework you use (JUnit 3.x 
(deprecated), 4.x, or TestNG). However the Camel project has tried to make the 
testing of Camel as easy and powerful as possible so we have introduced the 
following features.</p><h3 id="Testing-Testingmechanisms">Testing 
mechanisms</h3><p>The following mechanisms are supported:</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Component</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="camel-test.html">Camel Test</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Is a standalone Java library letting you 
easily create Camel test cases using a single Java class for all your
  configuration and routing without using <a shape="rect" 
href="cdi.html">CDI</a>, <a shape="rect" href="spring.html">Spring</a> or <a 
shape="rect" href="guice.html">Guice</a> for <a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of Spring + Spring Test or Guice. &#160;Supports 
JUnit 3.x (deprecated) and JUnit 4.x based tests.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" 
href="cdi-testing.html">CDI Testing</a></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code><span>camel-test-cdi</span></code></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>Provides a JUnit 4 runner 
that bootstraps a test environment using CDI so that you don't have to be 
familiar with any CDI testing frameworks and can concentrate on the testing 
logic of your Camel CDI applications. Testing frameworks like&#160;</span><a 
shape="rect" class="external-link" href="http://arquillian.org/"; re
 l="nofollow">Arquillian</a><span>&#160;or&#160;</span><a shape="rect" 
class="external-link" href="https://ops4j1.jira.com/wiki/display/PAXEXAM4"; 
rel="nofollow">PAX Exam</a><span>, can be used for more advanced test cases, 
where you need to configure your system under test in a very fine-grained way 
or target specific CDI containers.</span></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="spring-testing.html">Spring Testing</a></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>camel-test-spring</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Supports JUnit 3.x (deprecated) 
or JUnit 4.x based tests that bootstrap a test environment using Spring without 
needing to be familiar with Spring Test. The plain JUnit 3.x/4.x based tests 
work very similar to the test support classes in <code>camel-test</code>. Also 
supports Spring Test based tests that use the declarative style of test 
configuration and injection common in
  Spring Test. The Spring Test based tests provide feature parity with the 
plain JUnit 3.x/4.x based testing approach. Notice 
<code>camel-test-spring</code> is a new component in <strong>Camel 
2.10</strong> onwards. For older Camel release use <code>camel-test</code> 
which has built-in <a shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="blueprint-testing.html">Blueprint 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-blueprint</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> 
Provides the ability to do unit testing on blueprint 
configurations</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="guice.html">Guice</a></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-guice</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Us
 es <a shape="rect" href="guice.html">Guice</a> to dependency inject your test 
classes</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Camel TestNG</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-testng</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports plain TestNG based tests&#160;with 
or without <a shape="rect" href="cdi.html">CDI</a>,&#160;<a shape="rect" 
href="spring.html">Spring</a>&#160;or&#160;<a shape="rect" 
href="guice.html">Guice</a>&#160;for&#160;<a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of CDI, Spring + Spring Test or Guice. &#160;Also 
from <strong>Camel 2.10</strong> onwards, this component supports Spring 
Test&#160;based tests that use the declarative style of test configuration and 
injection common in Spring Test and described in more detail under <a 
shape="rect" href="spring-testing.html">Spring Testing</a>.</p></td><
 /tr></tbody></table></div><p>In all approaches the test classes look pretty 
much the same in that they all reuse the <a shape="rect" 
href="bean-integration.html">Camel binding and injection 
annotations</a>.</p><h4 id="Testing-CamelTestExample">Camel Test 
Example</h4><p>Here is the <a shape="rect" href="camel-test.html">Camel 
Test</a> <a shape="rect" class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-test/src/test/java/org/apache/camel/test/patterns/FilterTest.java";>example</a>:</p><div
 class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<div class="wiki-content maincontent"><h2 
id="Testing-Testing">Testing</h2><p>Testing is a crucial activity in any piece 
of software development or integration. Typically Camel Riders use various 
different <a shape="rect" href="components.html">technologies</a> wired 
together in a variety of <a shape="rect" 
href="enterprise-integration-patterns.html">patterns</a> with different <a 
shape="rect" href="languages.html">expression languages</a> together with 
different forms of <a shape="rect" href="bean-integration.html">Bean 
Integration</a> and <a shape="rect" href="dependency-injection.html">Dependency 
Injection</a> so its very easy for things to go wrong! <img class="emoticon 
emoticon-smile" 
src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png";
 data-emoticon-name="smile" alt="(smile)"> . Testing is the crucial weapon to 
ensure that things work as you would expect.</p><p>Camel is a Java library so 
you can ea
 sily wire up tests in whatever unit testing framework you use (JUnit 3.x 
(deprecated), 4.x, or TestNG). However the Camel project has tried to make the 
testing of Camel as easy and powerful as possible so we have introduced the 
following features.</p><h3 id="Testing-Testingmechanisms">Testing 
mechanisms</h3><p>The following mechanisms are supported:</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Component</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="camel-test.html">Camel Test</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Is a standalone Java library letting you 
easily create Camel test cases using a single Java class for all your
  configuration and routing without using <a shape="rect" 
href="cdi.html">CDI</a>, <a shape="rect" href="spring.html">Spring</a> or <a 
shape="rect" href="guice.html">Guice</a> for <a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of Spring + Spring Test or Guice. &#160;Supports 
JUnit 3.x (deprecated) and JUnit 4.x based tests.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" 
href="cdi-testing.html">CDI Testing</a></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>camel-test-cdi</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><span>Provides a JUnit 4 runner that 
bootstraps a test environment using CDI so that you don't have to be familiar 
with any CDI testing frameworks and can concentrate on the testing logic of 
your Camel CDI applications. Testing frameworks like&#160;</span><a 
shape="rect" class="external-link" href="http://arquillian.org/"; rel="nofollow">
 Arquillian</a><span>&#160;or&#160;</span><a shape="rect" class="external-link" 
href="https://ops4j1.jira.com/wiki/display/PAXEXAM4"; rel="nofollow">PAX 
Exam</a><span>, can be used for more advanced test cases, where you need to 
configure your system under test in a very fine-grained way or target specific 
CDI containers.</span></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="spring-testing.html">Spring 
Testing</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-test-spring</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports JUnit 3.x (deprecated) or JUnit 
4.x based tests that bootstrap a test environment using Spring without needing 
to be familiar with Spring Test. The plain JUnit 3.x/4.x based tests work very 
similar to the test support classes in <code>camel-test</code>. Also supports 
Spring Test based tests that use the declarative style of test configuration 
and injection common in Spring Test.
  The Spring Test based tests provide feature parity with the plain JUnit 
3.x/4.x based testing approach. Notice <code>camel-test-spring</code> is a new 
component in <strong>Camel 2.10</strong> onwards. For older Camel release use 
<code>camel-test</code> which has built-in <a shape="rect" 
href="spring-testing.html">Spring Testing</a>.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="blueprint-testing.html">Blueprint Testing</a></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>camel-test-blueprint</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> 
Provides the ability to do unit testing on blueprint 
configurations</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" href="guice.html">Guice</a></p></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-guice</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Uses <a shape="
 rect" href="guice.html">Guice</a> to dependency inject your test 
classes</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Camel TestNG</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>camel-testng</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Supports plain TestNG based tests&#160;with 
or without <a shape="rect" href="cdi.html">CDI</a>,&#160;<a shape="rect" 
href="spring.html">Spring</a>&#160;or&#160;<a shape="rect" 
href="guice.html">Guice</a>&#160;for&#160;<a shape="rect" 
href="dependency-injection.html">Dependency Injection</a>&#160;which does not 
require an in-depth knowledge of CDI, Spring + Spring Test or Guice. &#160;Also 
from <strong>Camel 2.10</strong> onwards, this component supports Spring 
Test&#160;based tests that use the declarative style of test configuration and 
injection common in Spring Test and described in more detail under <a 
shape="rect" href="spring-testing.html">Spring 
Testing</a>.</p></td></tr></tbody><
 /table></div><p>In all approaches the test classes look pretty much the same 
in that they all reuse the <a shape="rect" href="bean-integration.html">Camel 
binding and injection annotations</a>.</p><h4 
id="Testing-CamelTestExample">Camel Test Example</h4><p>Here is the <a 
shape="rect" href="camel-test.html">Camel Test</a> <a shape="rect" 
class="external-link" 
href="http://svn.apache.org/repos/asf/camel/trunk/components/camel-test/src/test/java/org/apache/camel/test/patterns/FilterTest.java";>example</a>:</p><div
 class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" 
type="syntaxhighlighter"><![CDATA[
 // tag::example[]
 public class FilterTest extends CamelTestSupport {


Reply via email to