Modified: websites/production/camel/content/book-quickstart.html ============================================================================== --- websites/production/camel/content/book-quickstart.html (original) +++ websites/production/camel/content/book-quickstart.html Thu Sep 14 19:25:46 2017 @@ -107,7 +107,7 @@ <p>This can be created in a route like this:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <route> <from uri="jms:queue:order"/> <pipeline> @@ -122,7 +122,7 @@ <div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Pipeline is default</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 route above we specify <code>pipeline</code> but it can be omitted as its default, so you can write the route as:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <route> <from uri="jms:queue:order"/> <bean ref="validateOrder"/> @@ -135,7 +135,7 @@ <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 pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <route> <from uri="jms:queue:order"/> <multicast> @@ -152,7 +152,7 @@ <p>The above sends the order (from <code>jms:queue:order</code>) 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 <code><pipeline></code></p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <route> <from uri="jms:queue:order"/> <multicast> @@ -171,7 +171,7 @@ <p>Where as the <code>bean ref</code> is a reference for a spring bean id, so we define our beans using regular Spring XML as:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <bean id="validateOrder" class="com.mycompany.MyOrderValidator"/> ]]></script> </div></div> @@ -187,7 +187,7 @@ <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">Components</a> we will use the camel-mina component that supports <a shape="rect" href="mina.html">TCP</a> connectivity. So we change the route to:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <route> <from uri="jms:queue:order"/> <bean ref="validateOrder"/> @@ -204,7 +204,7 @@ <p>What to notice here is that the <code>to</code> is not the end of the route (the world <img class="emoticon emoticon-wink" src="https://cwiki.apache.org/confluence/s/en_GB/5997/6f42626d00e36f53fe51440403446ca61552e2a2.1/_/images/icons/emoticons/wink.png" data-emoticon-name="wink" alt="(wink)">) in this example it's used in the middle of the <a shape="rect" href="pipes-and-filters.html">Pipes and filters</a>. In fact we can change the <code>bean</code> types to <code>to</code> as well:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <route> <from uri="jms:queue:order"/> <to uri="bean:validateOrder"/>
Modified: websites/production/camel/content/book-tutorials.html ============================================================================== --- websites/production/camel/content/book-tutorials.html (original) +++ websites/production/camel/content/book-tutorials.html Thu Sep 14 19:25:46 2017 @@ -238,7 +238,7 @@ mvn archetype:create -DgroupId=org.apach <p>Then we have the basic maven folder layout. We start out with the webservice part where we want to use Apache CXF for the webservice stuff. So we add this to the pom.xml</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <properties> <cxf-version>2.6.1</cxf-version> </properties> @@ -267,7 +267,7 @@ mvn archetype:create -DgroupId=org.apach <p>We put the wsdl file in the folder <code>src/main/webapp/WEB-INF/wsdl</code> and name the file <code>report_incident.wsdl</code>.</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="ISO-8859-1"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://reportincident.example.camel.apache.org" @@ -349,7 +349,7 @@ mvn archetype:create -DgroupId=org.apach <p>Then we integration the CXF wsdl2java generator in the pom.xml so we have CXF generate the needed POJO classes for our webservice contract. <br clear="none"> However at first we must configure maven to live in the modern world of Java 1.6 so we must add this to the pom.xml</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- to compile with 1.6 --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -364,7 +364,7 @@ However at first we must configure maven <p>And then we can add the CXF wsdl2java code generator that will hook into the compile goal so its automatic run all the time:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- CXF wsdl2java generator, will plugin to the compile goal --> <plugin> <groupId>org.apache.cxf</groupId> @@ -397,7 +397,7 @@ However at first we must configure maven <p>Next up is to configure the web.xml to be ready to use CXF so we can expose the webservice.<br clear="none"> As Spring is the center of the universe, or at least is a very important framework in today's Java land we start with the listener that kick-starts Spring. This is the usual piece of code:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- the listener that kick-starts Spring --> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> @@ -406,7 +406,7 @@ As Spring is the center of the universe, </div></div> <p>And then we have the CXF part where we define the CXF servlet and its URI mappings to which we have chosen that all our webservices should be in the path <code>/webservices/</code></p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- CXF servlet --> <servlet> <servlet-name>CXFServlet</servlet-name> @@ -424,7 +424,7 @@ As Spring is the center of the universe, <p>Then the last piece of the puzzle is to configure CXF, this is done in a spring XML that we link to fron the web.xml by the standard Spring <code>contextConfigLocation</code> property in the web.xml</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- location of spring xml files --> <context-param> <param-name>contextConfigLocation</param-name> @@ -440,7 +440,7 @@ As Spring is the center of the universe, <h3 id="BookTutorials-ConfigurationofCXF">Configuration of CXF</h3> <p>The cxf-config.xml is as follows:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" @@ -510,7 +510,7 @@ public class ReportIncidentEndpointImpl <h3 id="BookTutorials-Runningourwebservice">Running our webservice</h3> <p>Now that the code compiles we would like to run it inside a web container, for this purpose we make use of Jetty which we will bootstrap using it's plugin <code>org.mortbay.jetty:maven-jetty-plugin</code>:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <build> <plugins> ... @@ -686,7 +686,7 @@ public interface ReportIncidentEndpoint <p>Now we are nearly there. But if you run the unit test with <code>mvn test</code> then it will fail. Why!!! Well its because that CXF needs is missing some dependencies during unit testing. In fact it needs the web container, so we need to add this to our <strong>pom.xml</strong>.</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- cxf web container for unit testing --> <dependency> <groupId>org.apache.cxf</groupId> @@ -725,7 +725,7 @@ Tests run: 1, Failures: 0, Errors: 0, Sk <h2 id="BookTutorials-AddingCamel">Adding Camel</h2> <p>In this part we will introduce Camel so we start by adding Camel to our pom.xml:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <properties> ... <camel-version>1.4.0</camel-version> @@ -1025,7 +1025,7 @@ class=org.apache.camel.component.log.Log <p>Lets use a template language instead such as <a shape="rect" class="external-link" href="http://velocity.apache.org/">Apache Velocity</a>. As Camel have a component for <a shape="rect" href="velocity.html">Velocity</a> integration we will use this component. Looking at the <a shape="rect" href="component.html">Component List</a> overview we can see that camel-velocity component uses the artifactId <strong>camel-velocity</strong> so therefore we need to add this to the <strong>pom.xml</strong></p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-velocity</artifactId> @@ -1037,7 +1037,7 @@ class=org.apache.camel.component.log.Log <p>And now we have a Spring conflict as Apache CXF is dependent on Spring 2.0.8 and camel-velocity is dependent on Spring 2.5.5. To remedy this we could wrestle with the <strong>pom.xml</strong> with excludes settings in the dependencies or just bring in another dependency <strong>camel-spring</strong>:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring</artifactId> @@ -1320,7 +1320,7 @@ This is an auto generated email. You can <h2 id="BookTutorials-Unittestingmail">Unit testing mail</h2> <p>For unit testing the consumer part we will use a mock mail framework, so we add this to our <strong>pom.xml</strong>:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- unit testing mail using mock --> <dependency> <groupId>org.jvnet.mock-javamail</groupId> @@ -1609,7 +1609,7 @@ So we implement the logic in our webserv <h2 id="BookTutorials-Unittesting">Unit testing</h2> <p>Now is the time we would like to unit test what we got now. So we call for camel and its great test kit. For this to work we need to add it to the pom.xml</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> @@ -1816,7 +1816,7 @@ public class FilenameGenerator { <h4 id="BookTutorials-Usingascriptlanguagetosetthefilename">Using a script language to set the filename</h4> <p>We could do as in the previous parts where we send the computed filename as a message header when we "kick-start" the route. But we want to learn new stuff so we look for a different solution using some of Camels many <a shape="rect" href="languages.html">Languages</a>. As <a shape="rect" href="ognl.html">OGNL</a> is a favorite language of mine (used by WebWork) so we pick this baby for a Camel ride. For starters we must add it to our pom.xml:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-ognl</artifactId> @@ -1996,11 +1996,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.rbtoc1503649191585 {padding: 0px;} -div.rbtoc1503649191585 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1503649191585 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1505416938944 {padding: 0px;} +div.rbtoc1505416938944 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1505416938944 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style><div class="toc-macro rbtoc1503649191585"> +/*]]>*/</style><div class="toc-macro rbtoc1505416938944"> <ul class="toc-indentation"><li><a shape="rect" href="#BookTutorials-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a> <ul class="toc-indentation"><li><a shape="rect" href="#BookTutorials-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookTutorials-Distribution">Distribution</a></li><li><a shape="rect" href="#BookTutorials-Introduction">Introduction</a></li><li><a shape="rect" href="#BookTutorials-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a> <ul class="toc-indentation"><li><a shape="rect" href="#BookTutorials-Maven2">Maven 2</a></li><li><a shape="rect" href="#BookTutorials-wsdl">wsdl</a></li><li><a shape="rect" href="#BookTutorials-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#BookTutorials-RunningtheExample">Running the Example</a></li></ul> @@ -2037,7 +2037,7 @@ div.rbtoc1503649191585 li {margin-left: <h4 id="BookTutorials-Maven2">Maven 2</h4> <p>Axis dependencies is available for maven 2 so we configure our pom.xml as:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.axis</groupId> <artifactId>axis</artifactId> @@ -2078,7 +2078,7 @@ div.rbtoc1503649191585 li {margin-left: <p>Then we need to configure maven to use Java 1.5 and the Axis maven plugin that generates the source code based on the wsdl file:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- to compile with 1.5 --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -2113,7 +2113,7 @@ div.rbtoc1503649191585 li {margin-left: <h4 id="BookTutorials-wsdl">wsdl</h4> <p>We use the same .wsdl file as the <a shape="rect" href="tutorial-example-reportincident.html">Tutorial-Example-ReportIncident</a> and copy it to <code>src/main/webapp/WEB-INF/wsdl</code></p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="ISO-8859-1"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://reportincident.example.camel.apache.org" @@ -2195,7 +2195,7 @@ div.rbtoc1503649191585 li {margin-left: <h4 id="BookTutorials-ConfiguringAxis">Configuring Axis</h4> <p>Okay we are now setup for the contract first development and can generate the source file. For now we are still only using standard Axis and not Spring nor Camel. We still need to setup Axis as a web application so we configure the web.xml in <code>src/main/webapp/WEB-INF/web.xml</code> as:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <servlet> <servlet-name>axis</servlet-name> <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class> @@ -2257,7 +2257,7 @@ public class AxisReportIncidentService i </div></div> <p>Now we need to configure Axis itself and this is done using its <code>server-config.wsdd</code> file. We nearly get this for for free from the auto generated code, we copy the stuff from <code>deploy.wsdd</code> and made a few modifications:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <!-- global configuration --> @@ -2318,7 +2318,7 @@ public class AxisReportIncidentService i <p>What we need to do now is important, as we need to modify the above configuration to use our webservice class than the default one, so we change the classname parameter to our class <strong>AxisReportIncidentService</strong>:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <parameter name="className" value="org.apache.camel.example.axis.AxisReportIncidentService"/> ]]></script> </div></div> @@ -2337,7 +2337,7 @@ mvn jetty:run <p>Clicking on the .wsdl link shows the wsdl file, but what. It's an auto generated one and not our original .wsdl file. So we need to fix this ASAP and this is done by configuring Axis in the server-config.wsdd file:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <service name="ReportIncidentPort" provider="java:RPC" style="document" use="literal"> <wsdlFile>/WEB-INF/wsdl/report_incident.wsdl</wsdlFile> ... @@ -2348,7 +2348,7 @@ mvn jetty:run <h3 id="BookTutorials-IntegratingSpring">Integrating Spring</h3> <p>First we need to add its dependencies to the <strong>pom.xml</strong>. </p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> @@ -2359,7 +2359,7 @@ mvn jetty:run <p>Spring is integrated just as it would like to, we add its listener to the web.xml and a context parameter to be able to configure precisely what spring xml files to use:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <context-param> <param-name>contextConfigLocation</param-name> <param-value> @@ -2374,7 +2374,7 @@ mvn jetty:run </div></div> <p>Next is to add a plain spring XML file named <strong>axis-example-context.xml</strong> in the src/main/resources folder.</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -2417,7 +2417,7 @@ public class ReportIncidentService { </div></div> <p>So now we need to get from AxisReportIncidentService to this one ReportIncidentService using Spring. Well first of all we add our real service to spring XML configuration file so Spring can handle its lifecycle:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -2485,7 +2485,7 @@ public class AxisReportIncidentService e <h3 id="BookTutorials-IntegratingCamel">Integrating Camel</h3> <p>Again the first step is to add the dependencies to the maven <strong>pom.xml</strong> file:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> @@ -2512,7 +2512,7 @@ http://activemq.apache.org/camel/schema/ <h4 id="BookTutorials-CamelContext">CamelContext</h4> <p><a shape="rect" href="camelcontext.html">CamelContext</a> is the heart of Camel its where all the <a shape="rect" href="routes.html">routes</a>, <a shape="rect" href="endpoint.html">endpoints</a>, <a shape="rect" href="components.html">components</a>, etc. is registered. So we setup a <a shape="rect" href="camelcontext.html">CamelContext</a> and the spring XML files looks like:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -2538,7 +2538,7 @@ http://activemq.apache.org/camel/schema/ <p>The endpoint is configured in spring XML so we just add it as:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <camel:camelContext id="camelContext"> <!-- endpoint named backup that is configued as a file component --> <camel:endpoint id="backup" uri="file://target?append=false"/> @@ -2549,7 +2549,7 @@ http://activemq.apache.org/camel/schema/ <p>Next up is to be able to send a message to this endpoint. The easiest way is to use a ProducerTemplate. A ProducerTemplate is inspired by Spring template pattern with for instance JmsTemplate or JdbcTemplate in mind. The template that all the grunt work and exposes a simple interface to the end-user where he/she can set the payload to send. Then the template will do proper resource handling and all related issues in that regard. But how do we get hold of such a template? Well the <a shape="rect" href="camelcontext.html">CamelContext</a> is able to provide one. This is done by configuring the template on the camel context in the spring XML as:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <camel:camelContext id="camelContext"> <!-- producer template exposed with this id --> <camel:template id="camelTemplate"/> @@ -2573,7 +2573,7 @@ public class ReportIncidentService { </div></div> <p>And then let Spring handle the dependency inject as below:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <bean id="incidentservice" class="org.apache.camel.example.axis.ReportIncidentService"> <!-- set the producer template to use from the camel context below --> <property name="template" ref="camelTemplate"/> @@ -2627,7 +2627,7 @@ dir target /b <h3 id="BookTutorials-UnitTesting">Unit Testing</h3> <p>We would like to be able to unit test our <strong>ReportIncidentService</strong> class. So we add junit to the maven dependency:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> @@ -2764,7 +2764,7 @@ Tests run: 1, Failures: 0, Errors: 0, Sk <h4 id="BookTutorials-SmarterUnitTestingwithSpring">Smarter Unit Testing with Spring</h4> <p>The unit test above requires us to assemble the Camel pieces manually in java code. What if we would like our unit test to use our spring configuration file <strong>axis-example-context.xml</strong> where we already have setup the endpoint. And of course we would like to test using this configuration file as this is the real file we will use. Well hey presto the xml file is a spring ApplicationContext file and spring is able to load it, so we go the spring path for unit testing. First we add the spring-test jar to our maven dependency:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> @@ -2783,7 +2783,7 @@ public class ReportIncidentServiceTest e <p>The last change is to get hold of the producer template and now we can just refer to the bean id it has in the spring xml file:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <!-- producer template exposed with this id --> <camel:template id="camelTemplate"/> ]]></script> @@ -2803,7 +2803,7 @@ public class ReportIncidentServiceTest e <h3 id="BookTutorials-UnitTestcallingWebService">Unit Test calling WebService</h3> <p>What if you would like to execute a unit test where you send a webservice request to the <strong>AxisReportIncidentService</strong> how do we unit test this one? Well first of all the code is merely just a delegate to our real service that we have just tested, but nevertheless its a good question and we would like to know how. Well the answer is that we can exploit that fact that Jetty is also a slim web container that can be embedded anywhere just as Camel can. So we add this to our pom.xml:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> @@ -2906,7 +2906,7 @@ public class AxisReportIncidentServiceTe <p>Camel is smart as <code><a shape="rect" href="bean-integration.html">@EndpointInjected</a></code> supports different kinds of object types. We like the ProducerTemplate so we just keep it as it is. <br clear="none"> Since we use annotations on the field directly we do not need to set the property in the spring xml file so we change our service bean:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <bean id="incidentservice" class="org.apache.camel.example.axis.ReportIncidentService"/> ]]></script> </div></div> @@ -2914,7 +2914,7 @@ Since we use annotations on the field di <p>And since we use the <code><a shape="rect" href="bean-integration.html">@EndpointInjected</a></code> that refers to the endpoint with the id backup directly we can loose the template tag in the xml, so its shorter:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <bean id="incidentservice" class="org.apache.camel.example.axis.ReportIncidentService"/> <camel:camelContext id="camelContext"> @@ -2964,7 +2964,7 @@ Since we use annotations on the field di <p>To enable spring add a context loader listener to your <strong>/WEB-INF/web.xml</strong> file</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -2988,7 +2988,7 @@ Since we use annotations on the field di <p>For example</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -3030,7 +3030,7 @@ src/main/webapp/WEB-INF <p>You should update your Maven pom.xml to enable WAR packaging/naming like this...</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <project> ... <packaging>war</packaging> @@ -3047,7 +3047,7 @@ src/main/webapp/WEB-INF <p>Please refer to the <a shape="rect" class="external-link" href="http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin" rel="nofollow">help for more information on using jetty:run</a> - but briefly if you add the following to your pom.xml </p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <build> <plugins> <plugin> @@ -3161,7 +3161,7 @@ mvn -Dtest=false jetty:run <p>Here's a sample POM. We've added a dependency on <strong>camel-core</strong>, and set the compile version to 1.5 (so we can use annotations):</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion> @@ -3204,7 +3204,7 @@ mvn -Dtest=false jetty:run <p>Here's the sample of the canonical XML file:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <invoice xmlns="http://activemq.apache.org/camel/tutorial/partners/invoice"> <partner-id>2</partner-id> @@ -3233,7 +3233,7 @@ mvn -Dtest=false jetty:run <p>We need a dependency:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <artifactId>camel-jaxb</artifactId> <groupId>org.apache.camel</groupId> @@ -3245,7 +3245,7 @@ mvn -Dtest=false jetty:run <p>And a plugin configured:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> @@ -3283,7 +3283,7 @@ mvn -Dtest=false jetty:run <h5 id="BookTutorials-SetUpaSkeletalCamel/SpringUnitTest">Set Up a Skeletal Camel/Spring Unit Test</h5> <ol><li>Add dependencies on Camel-Spring, and the Spring test JAR (which will automatically bring in JUnit 3.8.x) to your POM: <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <artifactId>camel-spring</artifactId> <groupId>org.apache.camel</groupId> @@ -3310,7 +3310,7 @@ protected void setUp() throws Exception ]]></script> </div></div></li><li>Put in an empty test method just for the moment (so when we run this we can see that "1 test succeeded")</li><li>Add the Spring <a shape="rect" class="external-link" href="http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-metadata" rel="nofollow"><beans></a> element (including the <a shape="rect" class="external-link" href="http://activemq.apache.org/camel/xml-reference.html">Camel Namespace</a>) with an empty <a shape="rect" href="spring.html#Spring-UsingSpringtoconfiguretheCamelContext"><camelContext></a> element to the Spring context, like this: <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -3430,7 +3430,7 @@ public class CSVInputTest extends Abstra </div></div> <div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>CSVInputTest-context.xml</b></div><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -3450,7 +3450,7 @@ public class CSVInputTest extends Abstra <ol><li>Update the Maven POM to include <a shape="rect" href="csv.html">CSV</a> <a shape="rect" href="data-format.html">Data Format</a> support: <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <artifactId>camel-csv</artifactId> <groupId>org.apache.camel</groupId> @@ -3486,7 +3486,7 @@ public class CSVInputTest extends Abstra <p>So, we need a POJO with a method that takes something like an <code>InputStream</code> or <code>byte[]</code> as an argument, and returns in <code>Invoice</code> as before. The process should look something like this:</p> <ol><li>Update the Maven POM to include <a shape="rect" class="external-link" href="http://poi.apache.org/">POI</a> support: <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <artifactId>poi</artifactId> <groupId>org.apache.poi</groupId> Modified: websites/production/camel/content/cache.html ============================================================================== --- websites/production/camel/content/cache.html (original) +++ websites/production/camel/content/cache.html Thu Sep 14 19:25:46 2017 @@ -86,7 +86,7 @@ <tr> <td valign="top" width="100%"> <div class="wiki-content maincontent"><h2 id="Cache-CacheComponent">Cache Component</h2><div class="confluence-information-macro confluence-information-macro-warning"><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This component is deprecated. As of Camel 2.18.0 You should use <a shape="rect" href="ehcache.html">Ehcache</a>.</p></div></div><p><strong>Available as of Camel 2.1</strong></p><p>The <strong>cache</strong> component enables you to perform caching operations using EHCache as the Cache Implementation. The cache itself is created on demand or if a cache of that name already exists then it is simply utilized with its original settings.</p><p>This component supports producer and event based consumer endpoints.</p><p>The Cache consumer is an event based consumer and can be used to listen and respond to specific cache activities. If you need to perform selections from a pre-exist ing cache, use the processors defined for the cache component.</p><p>Maven users will need to add the following dependency to their <code>pom.xml</code> for this component:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-cache</artifactId> <version>x.x.x</version> @@ -230,7 +230,7 @@ .end(); ]]></script> </div></div><h3 id="Cache-ManagementofEHCache">Management of EHCache</h3><p><a shape="rect" class="external-link" href="http://ehcache.org/" rel="nofollow">EHCache</a> has its own statistics and management from <a shape="rect" href="camel-jmx.html">JMX</a>.</p><p>Here's a snippet on how to expose them via JMX in a Spring application context:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<bean id="ehCacheManagementService" class="net.sf.ehcache.management.ManagementService" init-method="init" lazy-init="false"> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<bean id="ehCacheManagementService" class="net.sf.ehcache.management.ManagementService" init-method="init" lazy-init="false"> <constructor-arg> <bean class="net.sf.ehcache.CacheManager" factory-method="getInstance"/> </constructor-arg> Added: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary file - no diff available. Propchange: websites/production/camel/content/cache/main.pageCache ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: websites/production/camel/content/cachereplicationjmsexample.html ============================================================================== --- websites/production/camel/content/cachereplicationjmsexample.html (original) +++ websites/production/camel/content/cachereplicationjmsexample.html Thu Sep 14 19:25:46 2017 @@ -187,7 +187,7 @@ public class WrappedJMSCacheLoader imple <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" @@ -250,7 +250,7 @@ public class WrappedJMSCacheLoader imple <p>The final step is to define some routes using Cache component</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" Modified: websites/production/camel/content/camel-100-release.html ============================================================================== --- websites/production/camel/content/camel-100-release.html (original) +++ websites/production/camel/content/camel-100-release.html Thu Sep 14 19:25:46 2017 @@ -107,7 +107,7 @@ <p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p> <div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> Modified: websites/production/camel/content/camel-110-release.html ============================================================================== --- websites/production/camel/content/camel-110-release.html (original) +++ websites/production/camel/content/camel-110-release.html Thu Sep 14 19:25:46 2017 @@ -111,7 +111,7 @@ </camelContext> ]]></script> </div></div><h2 id="Camel1.1.0Release-GettingtheBinaryDistributions">Getting the Binary Distributions</h2><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.1.0/apache-camel-1.1.0.zip">apache-camel-1.1.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.1.0/apache-camel-1.1.0.zip.asc">apache-camel-1.1.0.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>U nix/Linux/Cygwin Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.1.0/apache-camel-1.1.0.tar.gz">apache-camel-1.1.0.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.1.0/apache-camel-1.1.0.tar.gz.asc">apache-camel-1.1.0.tar.gz.asc</a></p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">The above URLs use redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the d ownload doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h2 id="Camel1.1.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h2><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.1.0</version> Modified: websites/production/camel/content/camel-120-release.html ============================================================================== --- websites/production/camel/content/camel-120-release.html (original) +++ websites/production/camel/content/camel-120-release.html Thu Sep 14 19:25:46 2017 @@ -105,7 +105,7 @@ <h2 id="Camel1.2.0Release-KnownIssues">Known Issues</h2><h2 id="Camel1.2.0Release-GettingtheBinaryDistributions">Getting the Binary Distributions</h2><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.2.0/apache-camel-1.2.0.zip">apache-camel-1.2.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.2.0/apache-camel-1.2.0.zip.asc">apache-camel-1.2.0.zip.asc</a></p></td></tr><tr><td colsp an="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.2.0/apache-camel-1.2.0.tar.gz">apache-camel-1.2.0.tar.gz</a> - this link does not work in Safari - please use FireFox</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.2.0/apache-camel-1.2.0.tar.gz.asc">apache-camel-1.2.0.tar.gz.asc</a></p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">The above URLs use redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. So me users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h2 id="Camel1.2.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h2><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.2.0</version> Modified: websites/production/camel/content/camel-130-release.html ============================================================================== --- websites/production/camel/content/camel-130-release.html (original) +++ websites/production/camel/content/camel-130-release.html Thu Sep 14 19:25:46 2017 @@ -126,7 +126,7 @@ <h2 id="Camel1.3.0Release-GettingtheDistributions">Getting the Distributions</h2><h3 id="Camel1.3.0Release-BinaryDistributions">Binary Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0.zip">apache-camel-1.3.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0.zip.asc">apache-camel-1.3.0.zip.asc</a></p></td></tr><tr><td co lspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0.tar.gz">apache-camel-1.3.0.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0.tar.gz.asc">apache-camel-1.3.0.tar.gz.asc</a></p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">The above URLs use redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h3 id="Camel1.3.0Release-SourceDistributions">Source Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0-src.zip">apache-camel-1.3.0-src.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" c lass="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0-src.zip.asc">apache-camel-1.3.0-src.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0-src.tar.gz">apache-camel-1.3.0-src.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.3.0/apache-camel-1.3.0-src.tar.gz.asc">apache-camel-1.3.0-src.tar.gz.asc</a></p></td></tr></tbody></table></div><h3 id="Camel1.3.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h3><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" hre f="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.3.0</version> Modified: websites/production/camel/content/camel-140-release.html ============================================================================== --- websites/production/camel/content/camel-140-release.html (original) +++ websites/production/camel/content/camel-140-release.html Thu Sep 14 19:25:46 2017 @@ -208,7 +208,7 @@ from("direct:order").to(" <h2 id="Camel1.4.0Release-GettingtheDistributions">Getting the Distributions</h2><h3 id="Camel1.4.0Release-BinaryDistributions">Binary Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0.zip">apache-camel-1.4.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0.zip.asc">apache-camel-1.4.0.zip.asc</a></p></td></tr><tr><td co lspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0.tar.gz">apache-camel-1.4.0.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0.tar.gz.asc">apache-camel-1.4.0.tar.gz.asc</a></p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">The above URLs use redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h3 id="Camel1.4.0Release-SourceDistributions">Source Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0-src.zip">apache-camel-1.4.0-src.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" c lass="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0-src.zip.asc">apache-camel-1.4.0-src.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0-src.tar.gz">apache-camel-1.4.0-src.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.4.0/apache-camel-1.4.0-src.tar.gz.asc">apache-camel-1.4.0-src.tar.gz.asc</a></p></td></tr></tbody></table></div><h3 id="Camel1.4.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h3><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" hre f="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.4.0</version> Modified: websites/production/camel/content/camel-150-release.html ============================================================================== --- websites/production/camel/content/camel-150-release.html (original) +++ websites/production/camel/content/camel-150-release.html Thu Sep 14 19:25:46 2017 @@ -350,7 +350,7 @@ See known issues.</li></ul> <h2 id="Camel1.5.0Release-GettingtheDistributions">Getting the Distributions</h2><h3 id="Camel1.5.0Release-BinaryDistributions">Binary Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0.zip">apache-camel-1.5.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0.zip.asc">apache-camel-1.5.0.zip.asc</a></p></td></tr><tr><td co lspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0.tar.gz">apache-camel-1.5.0.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0.tar.gz.asc">apache-camel-1.5.0.tar.gz.asc</a></p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-information"><p class="title">The above URLs use redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h3 id="Camel1.5.0Release-SourceDistributions">Source Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0-src.zip">apache-camel-1.5.0-src.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" c lass="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0-src.zip.asc">apache-camel-1.5.0-src.zip.asc</a></p></td></tr></tbody></table></div><div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0-src.tar.gz">apache-camel-1.5.0-src.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/activemq/apache-camel/1.5.0/apache-camel-1.5.0-src.tar.gz.asc">apache-camel-1.5.0-src.tar.gz.asc</a></p></td></tr></tbody></table></div><h3 id="Camel1.5.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h3><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.5.0</version> Modified: websites/production/camel/content/camel-160-release.html ============================================================================== --- websites/production/camel/content/camel-160-release.html (original) +++ websites/production/camel/content/camel-160-release.html Thu Sep 14 19:25:46 2017 @@ -93,7 +93,7 @@ <h2 id="Camel1.6.0Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome to the 1.6.0 release which approx 169 issues resolved (new features, improvements and bug fixes such as...)</p><ul><li>RedeliveryPolicy added support for ref attribute to reference a existing policy in the <a shape="rect" href="registry.html">Registry</a></li><li>major improvements to <a shape="rect" href="jetty.html">Jetty</a> for better handling of exception and faults and easier end-user customization how response should be written</li><li>minor improvements to <a shape="rect" href="http.html">HTTP</a> and <a shape="rect" href="mina.html">MINA</a></li><li><a shape="rect" href="http.html">HTTP</a> supports authentication</li><li><a shape="rect" href="mina.html">MINA</a> producer now throws CamelExchangeException in case no response received from remote server when in sync mode (sync=true)</li><li><a shape="rect" href="ftp.html">SFTP</a> added support for knownhosts, privatekey files and passive mode</li> <li>Added <code>onWhen</code> predicate to <a shape="rect" href="exception-clause.html">Exception Clause</a></li><li><a shape="rect" href="exception-clause.html">Exception Clause</a> is much smarter as it will use caused by exception hierarchy for matching as well (will use bottom ups)</li><li><a shape="rect" href="dead-letter-channel.html">Dead Letter Channel</a> now have <code>onRedeliver</code> to allow custom processing an <a shape="rect" href="exchange.html">Exchange</a> <strong>before</strong> its being redelivered. Allowing you to work on the message being sent.</li><li>Message Exchange Pattern can now be changed directly in the DSL.</li></ul><h3 id="Camel1.6.0Release-New">New <a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></h3><ul><li>None</li></ul><h3 id="Camel1.6.0Release-New.1">New <a shape="rect" href="components.html">Components</a></h3><ul><li><a shape="rect" href="freemarker.html">FreeMarker</a></li><li><a shape="rect" h ref="restlet.html">Restlet</a></li></ul><h3 id="Camel1.6.0Release-New.2">New <a shape="rect" href="dsl.html">DSL</a></h3><ul><li><a shape="rect" href="scala-dsl.html">Scala</a> (work in progress, not fully feature complete)</li></ul><h3 id="Camel1.6.0Release-NewAnnotations">New Annotations</h3><ul><li>None</li></ul><h3 id="Camel1.6.0Release-NewDataFormats">New <a shape="rect" href="data-format.html">Data Formats</a></h3><ul><li><a shape="rect" href="json.html">JSon</a></li><li><a shape="rect" href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect" class="unresolved" href="#">Zip</a></li></ul><h3 id="Camel1.6.0Release-New.3">New <a shape="rect" href="languages.html">Languages</a></h3><ul><li>None</li></ul><h3 id="Camel1.6.0Release-New.4">New <a shape="rect" href="examples.html">Examples</a></h3><ul><li>None</li></ul><h2 id="Camel1.6.0Release-APIbreakings">API breakings</h2><ul><li>From Camel 1.6.0 the camel-cxf producer's serviceClass parameter should be Interface, before that you could specify the serviceClass as a Class or Interface.</li><li>From Camel 1.6.0 the camel-jetty producer is removed and camel-jetty component doesn't dependent jetty-client module.</li></ul><h2 id="Camel1.6.0Release-KnownIssues">Known Issues</h2><p>See known issues from previous releases.</p><h2 id="Camel1.6.0Release-Importantchangestoconsiderwhenupgrading">Important changes to consider when upgrading</h2><h3 id="Camel1.6.0Release-JAXBdataformat">JAXB data format</h3><p>If you use XJC to create the java class from the schema, you will get a ObjectFactory for you JAXB context. Since the ObjectFactory uses JAXBElement to hold the reference of the schema and element instance value, from Camel 1.6.0 jaxbDataformat will ignore the JAXBElement by default and you will get the element instance value instead of the JAXBElement object form the unmarshaled message body.<br clear="none"> If you want to get the JAXBElement object form the unmarshaled message body, you need to set the JaxbDa taFormat object's ignoreJAXBElement property to be false.</p><h2 id="Camel1.6.0Release-GettingtheDistributions">Getting the Distributions</h2><h3 id="Camel1.6.0Release-BinaryDistributions">Binary Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0.zip">apache-camel-1.6.0.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0.zip.asc" >apache-camel-1.6.0.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" >class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td >colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" >class="external-link" >href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0.tar.gz">apache-camel-1.6.0.tar.gz</a></p></td><td > colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" >class="external-link" >href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0.tar.gz.asc">apache-camel-1.6.0.tar.gz.asc</a></p></td></tr></tbody></table></div><div > class="confluence-information-macro >confluence-information-macro-information"><p class="title">The above URLs use >redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info >confluence-information-macro-icon"></span><div >class="confluence-information-macro-body"><p>The above URLs use the Apache >Mirror system to redirect you to a suitable mirror for your download. Some us ers have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h3 id="Camel1.6.0Release-SourceDistributions">Source Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0-src.zip">apache-camel-1.6.0-src.zip</a></p></td><td colspan="1" rowspan ="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0-src.zip.asc">apache-camel-1.6.0-src.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0-src.tar.gz">apache-camel-1.6.0-src.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.0/apache-camel-1.6.0-src.tar.gz.asc">apache-camel-1.6.0-src.tar.gz.asc</a></p></td></tr></tbody></table></div><h3 id="Camel1.6.0Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h3><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a s hape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.6.0</version> Modified: websites/production/camel/content/camel-161-release.html ============================================================================== --- websites/production/camel/content/camel-161-release.html (original) +++ websites/production/camel/content/camel-161-release.html Thu Sep 14 19:25:46 2017 @@ -93,7 +93,7 @@ <h2 id="Camel1.6.1Release-NewandNoteworthy">New and Noteworthy</h2><p>Welcome to the 1.6.1 release which approx 93 issues resolved (new features, improvements and bug fixes such as...)</p><ul><li>Performance enhancement when sending high load of messages through Camel</li><li>Fixes for thread safety for <a shape="rect" href="ldap.html">LDAP</a>, Validation, <a shape="rect" href="jaxb.html">JAXB</a> data format.</li><li>Use Nexus for releases.</li><li>Fixed issue with start/stop state machine.</li><li>Upgraded to <a shape="rect" href="cxf.html">CXF</a> 2.2.</li><li>Security improvements for <a shape="rect" href="jetty.html">Jetty</a>.</li><li><a shape="rect" href="hl7.html">HL7</a> fixes on Windows platforms.</li><li>Fixes for header propagation in <a shape="rect" href="bean.html">Bean</a> component.</li><li>Fixes for using injected <a shape="rect" href="endpoint.html">Endpoint</a>.</li><li>Message Exchange Pattern can now be changed directly in the DSL.</li></ul><h3 id="Camel1.6.1Re lease-New">New <a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></h3><ul><li>None</li></ul><h3 id="Camel1.6.1Release-New.1">New <a shape="rect" href="components.html">Components</a></h3><ul><li>None</li></ul><h3 id="Camel1.6.1Release-New.2">New <a shape="rect" href="dsl.html">DSL</a></h3><ul><li>None</li></ul><h3 id="Camel1.6.1Release-NewAnnotations">New Annotations</h3><ul><li>None</li></ul><h3 id="Camel1.6.1Release-NewDataFormats">New <a shape="rect" href="data-format.html">Data Formats</a></h3><ul><li>GZIP</li></ul><h3 id="Camel1.6.1Release-New.3">New <a shape="rect" href="languages.html">Languages</a></h3><ul><li>None</li></ul><h3 id="Camel1.6.1Release-New.4">New <a shape="rect" href="examples.html">Examples</a></h3><ul><li>None</li></ul><h2 id="Camel1.6.1Release-APIbreakings">API breakings</h2><ul><li>From Camel 1.6.0 the camel-cxf producer's serviceClass parameter should be Interface, before that you could specify the serviceClass as a Class or Interface.</li><li>From Camel 1.6.0 the camel-jetty producer is removed and camel-jetty doesn't need the dependent jetty-client module.</li></ul><h2 id="Camel1.6.1Release-KnownIssues">Known Issues</h2><p>See known issues from previous releases.</p><h2 id="Camel1.6.1Release-Importantchangestoconsiderwhenupgrading">Important changes to consider when upgrading</h2><h2 id="Camel1.6.1Release-GettingtheDistributions">Getting the Distributions</h2><h3 id="Camel1.6.1Release-BinaryDistributions">Binary Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Windows Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class ="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1.zip">apache-camel-1.6.1.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1.zip.asc">apache-camel-1.6.1.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Unix/Linux/Cygwin Distribution</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1.tar.gz">apache-camel-1.6.1.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1.tar.gz.asc">apache-camel-1.6.1.tar.gz.asc</a></p></td></tr></tbody></table></div><div class="confluence-information-macro confluence-information-macro-i nformation"><p class="title">The above URLs use redirection</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using <a shape="rect" class="external-link" href="http://www.mozilla.com/en-US/firefox/" rel="nofollow">FireFox</a></p></div></div><h3 id="Camel1.6.1Release-SourceDistributions">Source Distributions</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Download Link</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>PGP Signature file of download</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Windows</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1-src.zip">apache-camel-1.6.1-src.zip</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1-src.zip.asc">apache-camel-1.6.1-src.zip.asc</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Source for Unix/Linux/Cygwin</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/apache-camel-1.6.1-src.tar.gz">apache-camel-1.6.1-src.tar.gz</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://archive.apache.org/dist/camel/apache-camel/1.6.1/a pache-camel-1.6.1-src.tar.gz.asc">apache-camel-1.6.1-src.tar.gz.asc</a></p></td></tr></tbody></table></div><h3 id="Camel1.6.1Release-GettingtheBinariesusingMaven2">Getting the Binaries using Maven 2</h3><p>To use this release in your maven project, the proper dependency configuration that you should use in your <a shape="rect" class="external-link" href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven POM</a> is:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>1.6.1</version>