Author: buildbot
Date: Sat Jul 11 09:20:25 2015
New Revision: 957864

Log:
Production update by buildbot for camel

Added:
    websites/production/camel/content/script.html
Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2160-release.html
    websites/production/camel/content/eip.html
    websites/production/camel/content/enterprise-integration-patterns.html
    websites/production/camel/content/language.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Sat Jul 11 
09:20:25 2015
@@ -1268,11 +1268,11 @@ template.send("direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul><li><a 
shape="rect" href="crypto.html">Crypto</a> Crypto is also available as a <a 
shape="rect" href="data-format.html">Data Format</a></li></ul> <h2 
id="BookComponentAppendix-CXFComponent">CXF Component</h2><div 
class="confluence-information-macro confluence-information-macro-note"><span 
class="aui-icon aui-icon-small aui-iconfont-warning 
confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>When using CXF as a consumer, the 
<a shape="rect" href="cxf-bean-component.html">CXF Bean Component</a> allows 
you to factor out how message payloads are received from their processing as a 
RESTful or SOAP web service. This has the potential of using a multitude of 
transports to cons
 ume web services. The bean component's configuration is also simpler and 
provides the fastest method to implement web services using Camel and 
CXF.</p></div></div><div class="confluence-information-macro 
confluence-information-macro-tip"><span class="aui-icon aui-icon-small 
aui-iconfont-approve confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>When using CXF in streaming modes 
(see DataFormat option), then also read about <a shape="rect" 
href="stream-caching.html">Stream caching</a>.</p></div></div><p>The 
<strong>cxf:</strong> component provides integration with <a shape="rect" 
href="http://cxf.apache.org";>Apache CXF</a> for connecting to JAX-WS services 
hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1436537858390 {padding: 0px;}
-div.rbtoc1436537858390 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1436537858390 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1436606296317 {padding: 0px;}
+div.rbtoc1436606296317 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1436606296317 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1436537858390">
+/*]]>*/</style></p><div class="toc-macro rbtoc1436606296317">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-CXFComponent">CXF Component</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-URIformat">URI format</a></li><li><a shape="rect" 
href="#BookComponentAppendix-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#BookComponentAppendix-Thedescriptionsofthedataformats">The descriptions 
of the dataformats</a>
@@ -6208,17 +6208,17 @@ but the following listed types were not
 String script = URLEncoder.encode(&quot;Hello ${body}&quot;, 
&quot;UTF-8&quot;);
 from(&quot;direct:start&quot;).to(&quot;language:simple:&quot; + 
script).to(&quot;mock:result&quot;);
 ]]></script>
-</div></div><p>In case you want to convert the message body type you can do 
this as well:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
+</div></div>In case you want to convert the message body type you can do this 
as well:<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[
 String script = URLEncoder.encode(&quot;${mandatoryBodyAs(String)}&quot;, 
&quot;UTF-8&quot;);
 from(&quot;direct:start&quot;).to(&quot;language:simple:&quot; + 
script).to(&quot;mock:result&quot;);
 ]]></script>
-</div></div><p>You can also use the <a shape="rect" 
href="groovy.html">Groovy</a> language, such as this example where the input 
message will by multiplied with 2:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div>You can also use the <a shape="rect" href="groovy.html">Groovy</a> 
language, such as this example where the input message will by multiplied with 
2:<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[
 String script = URLEncoder.encode(&quot;request.body * 2&quot;, 
&quot;UTF-8&quot;);
 from(&quot;direct:start&quot;).to(&quot;language:groovy:&quot; + 
script).to(&quot;mock:result&quot;);
 ]]></script>
-</div></div><p>You can also provide the script as a header as shown below. 
Here we use <a shape="rect" href="xpath.html">XPath</a> language to extract the 
text from the <code>&lt;foo&gt;</code> tag.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div>You can also provide the script as a header as shown below. Here 
we use <a shape="rect" href="xpath.html">XPath</a> language to extract the text 
from the <code>&lt;foo&gt;</code> tag.<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[Object out = 
producer.requestBodyAndHeader(&quot;language:xpath&quot;, 
&quot;&lt;foo&gt;Hello World&lt;/foo&gt;&quot;, Exchange.LANGUAGE_SCRIPT, 
&quot;/foo/text()&quot;);
 assertEquals(&quot;Hello World&quot;, out);
 ]]></script>
@@ -6229,22 +6229,22 @@ from(&quot;direct:start&quot;)
     
.to(&quot;language:simple:classpath:org/apache/camel/component/language/mysimplescript.txt&quot;)
     .to(&quot;mock:result&quot;);
 ]]></script>
-</div></div><p>By default the script is loaded once and cached. However you 
can disable the <code>contentCache</code> option and have the script loaded on 
each evaluation.<br clear="none"> For example if the file myscript.txt is 
changed on disk, then the updated script is used:</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div>By default the script is loaded once and cached. However you can 
disable the <code>contentCache</code> option and have the script loaded on each 
evaluation.<br clear="none"> For example if the file myscript.txt is changed on 
disk, then the updated script is used:<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;direct:start&quot;)
     // the script will be loaded on each message, as we disabled cache
     
.to(&quot;language:simple:file:target/script/myscript.txt?contentCache=false&quot;)
     .to(&quot;mock:result&quot;);
 ]]></script>
-</div></div><p>From <strong>Camel 2.11</strong> onwards you can refer to the 
resource similar to the other <a shape="rect" 
href="language.html">Language</a>s in Camel by prefixing with 
<code>"resource:"</code> as shown below:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div>From <strong>Camel 2.11</strong> onwards you can refer to the 
resource similar to the other <a shape="rect" 
href="language.html">Language</a>s in Camel by prefixing with 
<code>"resource:"</code> as shown below:<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;direct:start&quot;)
     // load the script from the classpath
     
.to(&quot;language:simple:resource:classpath:org/apache/camel/component/language/mysimplescript.txt&quot;)
     .to(&quot;mock:result&quot;);
 ]]></script>
-</div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.36">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul 
class="alternate"><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="routing-slip.html">Routing Slip</a></li><li><a shape="rect" 
href="dynamic-router.html">Dynamic Router</a></li></ul> <h2 
id="BookComponentAppendix-LDAPComponent">LDAP Component</h2><p>The 
<strong>ldap</strong> component allows you to perform searches in LDAP servers 
using filters as the message payload.<br clear="none"> This component uses 
standard JNDI (<code>javax.naming</code> package) to access the 
server.</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 panelCont
 ent pdl">
+</div></div><h3 id="BookComponentAppendix-SeeAlso.36">See Also</h3>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring 
Camel</a></li><li><a shape="rect" 
href="component.html">Component</a></li><li><a shape="rect" 
href="endpoint.html">Endpoint</a></li><li><a shape="rect" 
href="getting-started.html">Getting Started</a></li></ul><ul 
class="alternate"><li><a shape="rect" 
href="languages.html">Languages</a></li><li><a shape="rect" 
href="routing-slip.html">Routing Slip</a></li><li><a shape="rect" 
href="dynamic-router.html">Dynamic Router</a></li><li><a shape="rect" 
href="script.html">Script</a></li></ul> <h2 
id="BookComponentAppendix-LDAPComponent">LDAP Component</h2><p>The 
<strong>ldap</strong> component allows you to perform searches in LDAP servers 
using filters as the message payload.<br clear="none"> This component uses 
standard JNDI (<code>javax.naming</code> package) to access the 
server.</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-ldap&lt;/artifactId&gt;


Reply via email to