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("file://data.bin").marshal().base64().to("jms://myqueue");
+<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("file://data.bin").marshal().base64().to("jms://myqueue");
]]></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("jms://queue/order").unmarshal().base64().processRef("newOrder");
+</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("jms://queue/order").unmarshal().base64().processRef("newOrder");
]]></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 & 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[
-<dependency>
+</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[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-base64</artifactId>
- <version>2.11.0</version>
+ <version>x.x.x</version> <!-- use the same version
as your Camel core version -->
</dependency>
]]></script>
</div></div></div>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
|