camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r940440 - in /websites/production/camel/content: cache/main.pageCache java-dsl.html routes.html
Date Tue, 17 Feb 2015 08:18:19 GMT
Author: buildbot
Date: Tue Feb 17 08:18:19 2015
New Revision: 940440

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/java-dsl.html
    websites/production/camel/content/routes.html

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

Modified: websites/production/camel/content/java-dsl.html
==============================================================================
--- websites/production/camel/content/java-dsl.html (original)
+++ websites/production/camel/content/java-dsl.html Tue Feb 17 08:18:19 2015
@@ -140,13 +140,7 @@ public class MyRouteBuilder extends Rout
 ]]></script>
 </div></div>
 
-<h2 id="JavaDSL-Routes">Routes</h2>
-
-<p>Camel supports the definition of routing rules using a Java <a shape="rect" href="dsl.html">DSL</a>
(domain specific language) which avoids the need for cumbersome XML using a <a shape="rect"
href="routebuilder.html">RouteBuilder</a>.</p>
-
-<p>For example a simple route can be created as follows.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<h2 id="JavaDSL-Routes">Routes</h2><p>Camel supports the definition of
routing rules using a Java <a shape="rect" href="dsl.html">DSL</a> (domain specific
language) which avoids the need for cumbersome XML using a <a shape="rect" href="routebuilder.html">RouteBuilder</a>.</p><p>For
example a simple route can be created as follows.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -156,28 +150,13 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<p>As you can see from the above Camel uses <a shape="rect" href="uris.html">URIs</a>
to wire endpoints together.</p>
-
-<h3 id="JavaDSL-URIStringformatting">URI String formatting</h3>
-<p><strong>Available as of Camel 2.0</strong></p>
-
-<p>If you have endpoint URIs that accept options and you want to be able to substitute
the value, e.g. build the URI by concat the strings together, then you can use the <code>java.lang.String.format</code>
method. But in Camel 2.0 we have added two convenient methods in the Java DSL so you can do
<code>fromF</code> and <code>toF</code> that uses String formatting
to build the URI.  </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>As you can see from the above Camel uses <a shape="rect"
href="uris.html">URIs</a> to wire endpoints together.</p><h3 id="JavaDSL-URIStringformatting">URI
String formatting</h3><p><strong>Available as of Camel 2.0</strong></p><p>If
you have endpoint URIs that accept options and you want to be able to substitute the value,
e.g. build the URI by concat the strings together, then you can use the <code>java.lang.String.format</code>
method. But in Camel 2.0 we have added two convenient methods in the Java DSL so you can do
<code>fromF</code> and <code>toF</code> that uses String formatting
to build the URI.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 from(&quot;direct:start&quot;).toF(&quot;file://%s?fileName=%s&quot;, path,
name);
 
 fromF(&quot;file://%s?include=%s&quot;, path, pattern).toF(&quot;mock:%s&quot;,
result);
 ]]></script>
-</div></div>
-
-<h3 id="JavaDSL-Filters">Filters</h3>
-
-<p>You can combine simple routes with filters which can be arbitrary <a shape="rect"
href="predicate.html">Predicate</a> implementations. </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="JavaDSL-Filters">Filters</h3><p>You can
combine simple routes with filters which can be arbitrary <a shape="rect" href="predicate.html">Predicate</a>
implementations.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -189,13 +168,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<h3 id="JavaDSL-Choices">Choices</h3>
-
-<p>With a choice you provide a list of predicates and outcomes along with an optional
default otherwise clause which is invoked if none of the conditions are met.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="JavaDSL-Choices">Choices</h3><p>With a
choice you provide a list of predicates and outcomes along with an optional default otherwise
clause which is invoked if none of the conditions are met.</p><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -212,12 +185,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<h4 id="JavaDSL-Usingacustomprocessor">Using a custom processor</h4>
-
-<p>Here is an example of using a custom <a shape="rect" href="processor.html">Processor</a></p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h4 id="JavaDSL-Usingacustomprocessor">Using a custom processor</h4><p>Here
is an example of using a custom <a shape="rect" href="processor.html">Processor</a></p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 myProcessor = new Processor() {
     public void process(Exchange exchange) {
@@ -234,11 +202,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<p>You can mix and match custom processors with filters and choices.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>You can mix and match custom processors with filters and
choices.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -252,27 +216,6 @@ RouteBuilder builder = new RouteBuilder(
 ]]></script>
 </div></div>
 
-
-
-<h4 id="JavaDSL-Interceptors">Interceptors</h4>
-
-<p>Here is an example of adding a few custom <a shape="rect" class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/InterceptorProcessor.html">InterceptorProcessor</a>
objects to a processing pipeline: </p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-RouteBuilder builder = new RouteBuilder() {
-    public void configure() {
-        errorHandler(deadLetterChannel(&quot;mock:error&quot;));
-
-        from(&quot;direct:a&quot;)
-            .filter(header(&quot;foo&quot;).isEqualTo(123))
-                .to(&quot;direct:b&quot;);
-    }
-};
-]]></script>
-</div></div>
-
-<p>When you start defining and interceptor stack with intercept(), you must follow
up with the subsequent .target() so that the target of the interceptor stack is properly registered.</p>
-
 <h3 id="JavaDSL-SeeAlso">See Also</h3>
 <ul class="alternate"><li><a shape="rect" href="dsl.html">DSL</a></li><li><a
shape="rect" href="examples.html">Examples</a></li></ul></div>
         </td>

Modified: websites/production/camel/content/routes.html
==============================================================================
--- websites/production/camel/content/routes.html (original)
+++ websites/production/camel/content/routes.html Tue Feb 17 08:18:19 2015
@@ -86,13 +86,7 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Routes-Routes">Routes</h2>
-
-<p>Camel supports the definition of routing rules using a Java <a shape="rect" href="dsl.html">DSL</a>
(domain specific language) which avoids the need for cumbersome XML using a <a shape="rect"
href="routebuilder.html">RouteBuilder</a>.</p>
-
-<p>For example a simple route can be created as follows.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<div class="wiki-content maincontent"><h2 id="Routes-Routes">Routes</h2><p>Camel
supports the definition of routing rules using a Java <a shape="rect" href="dsl.html">DSL</a>
(domain specific language) which avoids the need for cumbersome XML using a <a shape="rect"
href="routebuilder.html">RouteBuilder</a>.</p><p>For example a simple
route can be created as follows.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -102,28 +96,13 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<p>As you can see from the above Camel uses <a shape="rect" href="uris.html">URIs</a>
to wire endpoints together.</p>
-
-<h3 id="Routes-URIStringformatting">URI String formatting</h3>
-<p><strong>Available as of Camel 2.0</strong></p>
-
-<p>If you have endpoint URIs that accept options and you want to be able to substitute
the value, e.g. build the URI by concat the strings together, then you can use the <code>java.lang.String.format</code>
method. But in Camel 2.0 we have added two convenient methods in the Java DSL so you can do
<code>fromF</code> and <code>toF</code> that uses String formatting
to build the URI.  </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>As you can see from the above Camel uses <a shape="rect"
href="uris.html">URIs</a> to wire endpoints together.</p><h3 id="Routes-URIStringformatting">URI
String formatting</h3><p><strong>Available as of Camel 2.0</strong></p><p>If
you have endpoint URIs that accept options and you want to be able to substitute the value,
e.g. build the URI by concat the strings together, then you can use the <code>java.lang.String.format</code>
method. But in Camel 2.0 we have added two convenient methods in the Java DSL so you can do
<code>fromF</code> and <code>toF</code> that uses String formatting
to build the URI.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 from(&quot;direct:start&quot;).toF(&quot;file://%s?fileName=%s&quot;, path,
name);
 
 fromF(&quot;file://%s?include=%s&quot;, path, pattern).toF(&quot;mock:%s&quot;,
result);
 ]]></script>
-</div></div>
-
-<h3 id="Routes-Filters">Filters</h3>
-
-<p>You can combine simple routes with filters which can be arbitrary <a shape="rect"
href="predicate.html">Predicate</a> implementations. </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="Routes-Filters">Filters</h3><p>You can
combine simple routes with filters which can be arbitrary <a shape="rect" href="predicate.html">Predicate</a>
implementations.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -135,13 +114,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<h3 id="Routes-Choices">Choices</h3>
-
-<p>With a choice you provide a list of predicates and outcomes along with an optional
default otherwise clause which is invoked if none of the conditions are met.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="Routes-Choices">Choices</h3><p>With a choice
you provide a list of predicates and outcomes along with an optional default otherwise clause
which is invoked if none of the conditions are met.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -158,12 +131,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<h4 id="Routes-Usingacustomprocessor">Using a custom processor</h4>
-
-<p>Here is an example of using a custom <a shape="rect" href="processor.html">Processor</a></p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h4 id="Routes-Usingacustomprocessor">Using a custom processor</h4><p>Here
is an example of using a custom <a shape="rect" href="processor.html">Processor</a></p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 myProcessor = new Processor() {
     public void process(Exchange exchange) {
@@ -180,11 +148,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-<p>You can mix and match custom processors with filters and choices.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>You can mix and match custom processors with filters and
choices.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 RouteBuilder builder = new RouteBuilder() {
     public void configure() {
@@ -196,28 +160,7 @@ RouteBuilder builder = new RouteBuilder(
     }
 };
 ]]></script>
-</div></div>
-
-
-
-<h4 id="Routes-Interceptors">Interceptors</h4>
-
-<p>Here is an example of adding a few custom <a shape="rect" class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/InterceptorProcessor.html">InterceptorProcessor</a>
objects to a processing pipeline: </p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-RouteBuilder builder = new RouteBuilder() {
-    public void configure() {
-        errorHandler(deadLetterChannel(&quot;mock:error&quot;));
-
-        from(&quot;direct:a&quot;)
-            .filter(header(&quot;foo&quot;).isEqualTo(123))
-                .to(&quot;direct:b&quot;);
-    }
-};
-]]></script>
-</div></div>
-
-<p>When you start defining and interceptor stack with intercept(), you must follow
up with the subsequent .target() so that the target of the interceptor stack is properly registered.</p></div>
+</div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message