camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r908385 - in /websites/production/camel/content: base64.html cache/main.pageCache
Date Thu, 08 May 2014 15:17:58 GMT
Author: buildbot
Date: Thu May  8 15:17:58 2014
New Revision: 908385

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/base64.html
    websites/production/camel/content/cache/main.pageCache

Modified: websites/production/camel/content/base64.html
==============================================================================
--- websites/production/camel/content/base64.html (original)
+++ websites/production/camel/content/base64.html Thu May  8 15:17:58 2014
@@ -85,45 +85,17 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Base64-Base64DataFormat">Base64
Data Format</h2>
-<p><strong>Available as of Camel 2.11</strong><br clear="none">
-The Base64 <a shape="rect" href="data-format.html">Data Format</a> is a data
format for <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Base64"
rel="nofollow">base64 encoding and decoding</a>.</p>
-
-<h3 id="Base64-Options">Options</h3>
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Option </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> lineLength </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> 76 </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> To specific a maximum line length for the encoded
data. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
lineSeparator </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
\r\n </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
The line separators to use. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> urlSafe </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 > Instead of emitting '+' and '/' we emit '-' and '_' respectively. urlSafe is only applied
to encode operations. Decoding seamlessly handles both modes. </p></td></tr></tbody></table></div>
-
-
-
-<h3 id="Base64-Marshal">Marshal</h3>
-<p>In this example we marshal the file content to base64 object.</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;file://data.bin&quot;).marshal().base64().to(&quot;jms://myqueue&quot;);
+<div class="wiki-content maincontent"><h2 id="Base64-Base64DataFormat">Base64
Data Format</h2><p><strong>Available as of Camel 2.11</strong><br
clear="none"> The Base64 <a shape="rect" href="data-format.html">Data Format</a>
is a data format for <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Base64"
rel="nofollow">base64 encoding and decoding</a>.</p><h3 id="Base64-Options">Options</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>lineLength</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>76</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>To specific a maximum line length for the encoded
data.</p></td></tr><tr><td colspan="1" rowspan="1" class="conflu
 enceTd"><p>lineSeparator</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>\r\n</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The line separators to use.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>urlSafe</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Instead of emitting '+' and '/' we
emit '-' and '_' respectively. urlSafe is only applied to encode operations. Decoding seamlessly
handles both modes.</p></td></tr></tbody></table></div><h3
id="Base64-Marshal">Marshal</h3><p>In this example we marshal the file content
to base64 object.</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;file://data.bin&quot;).marshal().base64().to(&quot;jms://myqueue&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="Base64-Unmarshal">Unmarshal</h3>
-<p>In this example we unmarshal the payload from the JMS queue to a byte[] object,
before its processed by the newOrder processor. </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;jms://queue/order&quot;).unmarshal().base64().processRef(&quot;newOrder&quot;);
+</div></div><h3 id="Base64-Unmarshal">Unmarshal</h3><p>In this
example we unmarshal the payload from the JMS queue to a byte[] object, before its processed
by the newOrder processor.</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;jms://queue/order&quot;).unmarshal().base64().processRef(&quot;newOrder&quot;);
 ]]></script>
-</div></div>
-
-<h3 id="Base64-Dependencies">Dependencies</h3>
-
-<p>To use Base64 in your Camel routes you need to add a dependency on <strong>camel-base64</strong>
which implements this data format. </p>
-
-<p>If you use Maven you can just add the following to your pom.xml, substituting the
version number for the latest &amp; greatest release (see <a shape="rect" href="download.html">the
download page for the latest versions</a>).</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;dependency&gt;
+</div></div><h3 id="Base64-Dependencies">Dependencies</h3><p>To
use Base64 in your Camel routes you need to add a dependency on <strong>camel-base64</strong>
which implements this data format.</p><p>If you use Maven you can just add the
following to your pom.xml:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
   &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
   &lt;artifactId&gt;camel-base64&lt;/artifactId&gt;
-  &lt;version&gt;2.11.0&lt;/version&gt;
+  &lt;version&gt;x.x.x&lt;/version&gt;  &lt;!-- use the same version
as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
 </div></div></div>

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



Mime
View raw message