You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2015/10/10 21:21:03 UTC

svn commit: r968441 [2/2] - in /websites/production/camel/content: ./ cache/

Modified: websites/production/camel/content/component.html
==============================================================================
--- websites/production/camel/content/component.html (original)
+++ websites/production/camel/content/component.html Sat Oct 10 19:21:02 2015
@@ -325,7 +325,7 @@ disruptor-vm:someName[?<option>]
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>For IRC communication</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">JavaSpace</a> / camel-javaspace</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[javaspace:jini://hostName[?options]
 ]]></script>
-</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jbpm.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[jbpm:hostName[:port][/resourceUri][?options]
 ]]></script>
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending messages through kie-remote-client API to jBPM.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jclouds.html">jclouds</a> / camel-jclouds</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/components.html
==============================================================================
--- websites/production/camel/content/components.html (original)
+++ websites/production/camel/content/components.html Sat Oct 10 19:21:02 2015
@@ -325,7 +325,7 @@ disruptor-vm:someName[?&lt;option&gt;]
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>For IRC communication</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">JavaSpace</a> / camel-javaspace</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[javaspace:jini://hostName[?options]
 ]]></script>
-</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jbpm.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[jbpm:hostName[:port][/resourceUri][?options]
 ]]></script>
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending messages through kie-remote-client API to jBPM.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jclouds.html">jclouds</a> / camel-jclouds</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/jbpm.html
==============================================================================
--- websites/production/camel/content/jbpm.html (original)
+++ websites/production/camel/content/jbpm.html Sat Oct 10 19:21:02 2015
@@ -101,8 +101,8 @@
         .to(&quot;jbpm:http://localhost:8080/business-central?userName=bpmsAdmin&amp;password=pa$word1&quot;
  + &quot;&amp;deploymentId=org.kie.example:project1:1.0.0-SNAPSHOT&quot;);
 ]]></script>
-</div></div><p>&#160;</p><p>&#160;</p><p></p><h3 id="jBPM-SeeAlso">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><pre style="background-color: rgb(255,255,255);color: rgb(0,0,0);font-family: &quot;DejaVu Sans Mono&quot;;font-size: 12.0pt;">String</pre></div>
+</div></div><p></p><h3 id="jBPM-SeeAlso">See Also</h3>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><p>&#160;</p></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/camel/content/optaplanner.html
==============================================================================
--- websites/production/camel/content/optaplanner.html (original)
+++ websites/production/camel/content/optaplanner.html Sat Oct 10 19:21:02 2015
@@ -85,7 +85,7 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="OptaPlanner-OptaPlanner">OptaPlanner</h2><p><strong>Available as of Camel 2.13</strong></p><p>The <strong>optaplanner:</strong> component solves the planning problem contained in a message with <a shape="rect" class="external-link" href="http://www.optaplanner.org/" rel="nofollow">OptaPlanner</a>.<br clear="none"> For example: feed it an unsolved Vehicle Routing problem and it solves it.</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">
+<div class="wiki-content maincontent"><h2 id="OptaPlanner-OptaPlanner">OptaPlanner</h2><p><strong>Available as of Camel 2.13</strong></p><p>The <strong>optaplanner:</strong> component solves the planning problem contained in a message with <a shape="rect" class="external-link" href="http://www.optaplanner.org/" rel="nofollow">OptaPlanner</a>.<br clear="none"> For example: feed it an unsolved Vehicle Routing problem and it solves it.</p><p>The component supports consumer as BestSolutionChangedEvent listener and producer for processing Solution and ProblemFactChange</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[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-optaplanner&lt;/artifactId&gt;
@@ -95,7 +95,7 @@
 </div></div><h3 id="OptaPlanner-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[optaplanner:solverConfig[?options]
 ]]></script>
-</div></div><p>The <strong>solverConfig</strong> is the classpath-local URI of the solverConfig, for example <code>/org/foo/barSolverConfig.xml</code>.</p><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="OptaPlanner-Options">Options</h3><p>No options supported yet.</p><h3 id="OptaPlanner-MessageHeaders">Message Headers</h3><p>No message headers supported yet.</p><h3 id="OptaPlanner-MessageBody">Message Body</h3><p>Camel takes the planning problem for the IN body, solves it and returns it on the OUT body.<br clear="none"> The IN body object must implement the optaplanner interface <code>Solution</code>.</p><h3 id="OptaPlanner-Termination">Termination</h3><p>The solving will take as long as specified in the <code>solverConfig</code>.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The <strong>solverConfig</strong> is the classpath-local URI of the solverConfig, for example <code>/org/foo/barSolverConfig.xml</code>.</p><p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p><h3 id="OptaPlanner-URIOptions(sincev2.16)">URI Options<strong> (since v 2.16)</strong></h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>solverId</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>DEFAULT_SOLVER</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></
 td><td colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The endpoint keeps a map of Solver instances. solverId specifies a the map key to use.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>threadPoolSize</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>10</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>int</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the size the of thread pool to use for processing async Solution messages.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>async</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Boolean</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Producer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Specify whether to use an
 other thread for submitting Solution instances rather than blocking the current thread.</p></td></tr></tbody></table></div><h3 id="OptaPlanner-MessageHeaders(sincev2.16)">Message Headers<strong> (since v 2.16)</strong></h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">CamelOptaPlannerSolverId</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1" class="confluenceTd">Specifies the solverId to use</td></tr><tr><td col
 span="1" rowspan="1" class="confluenceTd">CamelOptaPlannerIsAsync</td><td colspan="1" rowspan="1" class="confluenceTd">PUT</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">Producer</td><td colspan="1" rowspan="1" class="confluenceTd">Specify whether to use another thread for submitting Solution instances rather than blocking the current thread.</td></tr></tbody></table></div><h3 id="OptaPlanner-MessageBody">Message Body</h3><p>Camel takes the planning problem for the IN body, solves it and returns it on the OUT body.<br clear="none"> (since v 2.16) The IN body object supports the following use cases:</p><ul><li>If the body is instance of Solution, then it will be solved using the solver identified by solverId and either synchronously or asynchronously.</li><li>If the body is instance of ProblemFactChange, then it will trigger <span style="color: rgb(49,55,57);">addProblemFactChange</span>. If the processing is asynchron
 ously, then it will wait till isEveryProblemFactChangeProcessed before returning result.</li><li>If the body is none of the above types, then the producer will return the best result from the solver identified by solverId</li></ul><h3 id="OptaPlanner-Termination">Termination</h3><p>The solving will take as long as specified in the <code>solverConfig</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[&lt;solver&gt;
   ...
   &lt;termination&gt;
@@ -107,7 +107,7 @@
   ...
 &lt;solver&gt;
 ]]></script>
-</div></div><p><strong>NOTE</strong> While the Solver is solving, it will effectively hog the camel thread. Future improvements might include solving in a separate thread:</p><ul class="alternate"><li>Asynchronous solving: 1 request starts the solving and registers a callback. When the Solver terminates, the best Solution is returned through the callback.</li><li>2 phase request solving: 1 request starts the solving on a separate thread. Another request (with an id to the first request) terminates the Solver with Solver.terminateEarly() and returns the best Solution.</li></ul><h4 id="OptaPlanner-Samples">Samples</h4><p>Solve an planning problem that's on the ActiveMQ queue with OptaPlanner:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>&#160;</p><h4 id="OptaPlanner-Samples">Samples</h4><p>Solve an planning problem that's on the ActiveMQ queue with OptaPlanner:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from(&quot;activemq:My.Queue&quot;).
   .to(&quot;optaplanner:/org/foo/barSolverConfig.xml&quot;);
 ]]></script>

Modified: websites/production/camel/content/transport.html
==============================================================================
--- websites/production/camel/content/transport.html (original)
+++ websites/production/camel/content/transport.html Sat Oct 10 19:21:02 2015
@@ -329,7 +329,7 @@ disruptor-vm:someName[?&lt;option&gt;]
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>For IRC communication</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">JavaSpace</a> / camel-javaspace</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[javaspace:jini://hostName[?options]
 ]]></script>
-</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jbpm.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[jbpm:hostName[:port][/resourceUri][?options]
 ]]></script>
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending messages through kie-remote-client API to jBPM.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jclouds.html">jclouds</a> / camel-jclouds</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">

Modified: websites/production/camel/content/uris.html
==============================================================================
--- websites/production/camel/content/uris.html (original)
+++ websites/production/camel/content/uris.html Sat Oct 10 19:21:02 2015
@@ -334,7 +334,7 @@ disruptor-vm:someName[?&lt;option&gt;]
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>For IRC communication</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">JavaSpace</a> / camel-javaspace</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[javaspace:jini://hostName[?options]
 ]]></script>
-</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="javaspace.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending and receiving messages through <a shape="rect" class="external-link" href="http://java.sun.com/products/jini/2.1/doc/specs/html/js-spec.html" rel="nofollow">JavaSpace</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jbpm.html">jBPM</a> / camel-jbpm</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: plain; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[jbpm:hostName[:port][/resourceUri][?options]
 ]]></script>
 </div></div></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sending messages through kie-remote-client API to jBPM.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="jclouds.html">jclouds</a> / camel-jclouds</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">