Author: buildbot
Date: Thu Dec 15 15:20:21 2016
New Revision: 1002865
Log:
Production update by buildbot for camel
Added:
websites/production/camel/content/tar-dataformat.html
Modified:
websites/production/camel/content/book-dataformat-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/data-format-list.html
websites/production/camel/content/data-format.html
Modified: websites/production/camel/content/book-dataformat-appendix.html
==============================================================================
--- websites/production/camel/content/book-dataformat-appendix.html (original)
+++ websites/production/camel/content/book-dataformat-appendix.html Thu Dec 15
15:20:21 2016
@@ -95,7 +95,7 @@
<p>The following data formats are currently supported:</p>
-<ul><li>Standard JVM object marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservice marshalling<ul><li><a
shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li><li><a shape="rect"
href="lzf-data-fo
rmat.html">LZF Data Format</a></li></ul></li></ul><ul><li>Security<ul><li><a
shape="rect" href="crypto.html">Crypto</a></li><li><a shape="rect"
href="crypto.html">PGP</a></li><li><a shape="rect"
href="xmlsecurity-dataformat.html">XMLSecurity
DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
href="base64.html">Base64</a></li><li><a shape="rect"
href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
implementation</li><li><a shape="rect"
href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
href="rss.html">RSS</a></li><li><a shape="rect"
href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
href="syslog.html">Syslog</a></li><li><a shape="rect"
href="ical.html">ICal</a></li><li><a shape="rect"
href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
(QR-Code, PDF417, ...)</li></ul></li></ul>
+<ul><li>Standard JVM object marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservice marshalling<ul><li><a
shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li><li><a shape="rect"
href="lzf-data-fo
rmat.html">LZF Data Format</a></li><li><a shape="rect"
href="tar-dataformat.html">Tar
DataFormat</a></li></ul></li></ul><ul><li>Security<ul><li><a shape="rect"
href="crypto.html">Crypto</a></li><li><a shape="rect"
href="crypto.html">PGP</a></li><li><a shape="rect"
href="xmlsecurity-dataformat.html">XMLSecurity
DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
href="base64.html">Base64</a></li><li><a shape="rect"
href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
implementation</li><li><a shape="rect"
href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
href="rss.html">RSS</a></li><li><a shape="rect"
href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
href="syslog.html">Syslog</a></li><li><a shape="rect"
href="ical.html">ICal</a></li><li><a shape="rect"
href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
(QR-Code, PDF417, ...)</li></ul></li></ul>
<p>And related is the following:</p>
<ul class="alternate"><li><a shape="rect"
href="dataformat-component.html">DataFormat Component</a> for working with <a
shape="rect" href="data-format.html">Data Format</a>s as if it was a regular <a
shape="rect" href="component.html">Component</a> supporting <a shape="rect"
href="endpoint.html">Endpoint</a>s and <a shape="rect"
href="uris.html">URIs</a>.</li><li><a shape="rect"
href="dozer-type-conversion.html">Dozer Type Conversion</a> using Dozer for
type converting POJOs</li></ul>
Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Thu Dec 15 15:20:21
2016
@@ -3966,11 +3966,11 @@ The tutorial has been designed in two pa
While not actual tutorials you might find working through the source of the
various <a shape="rect" href="examples.html">Examples</a> useful.</li></ul>
<h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring
Remoting with JMS</h2><p> </p><div class="confluence-information-macro
confluence-information-macro-information"><p class="title">Thanks</p><span
class="aui-icon aui-icon-small aui-iconfont-info
confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>This tutorial was kindly donated
to Apache Camel by Martin Gilday.</p></div></div><h2
id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the
reader through the stages of creating a project which uses Camel to facilitate
the routing of messages from a JMS queue to a <a shape="rect"
class="external-link" href="http://www.springramework.org"
rel="nofollow">Spring</a> service. The route works in a synchronous fashion
returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1481296685879 {padding: 0px;}
-div.rbtoc1481296685879 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1481296685879 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1481815096254 {padding: 0px;}
+div.rbtoc1481815096254 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1481815096254 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1481296685879">
+/*]]>*/</style></p><div class="toc-macro rbtoc1481815096254">
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring
Remoting with JMS</a></li><li><a shape="rect"
href="#BookInOnePage-Preface">Preface</a></li><li><a shape="rect"
href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect"
href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect"
href="#BookInOnePage-About">About</a></li><li><a shape="rect"
href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-UpdatethePOMwithDependencies">Update the POM with
Dependencies</a></li></ul>
</li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing the
Server</a>
@@ -6085,11 +6085,11 @@ So we completed the last piece in the pi
<p>This example has been removed from <strong>Camel 2.9</strong> onwards.
Apache Axis 1.4 is a very old and unsupported framework. We encourage users to
use <a shape="rect" href="cxf.html">CXF</a> instead of Axis.</p></div></div>
<style type="text/css">/*<![CDATA[*/
-div.rbtoc1481296686663 {padding: 0px;}
-div.rbtoc1481296686663 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1481296686663 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1481815096514 {padding: 0px;}
+div.rbtoc1481815096514 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1481815096514 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style><div class="toc-macro rbtoc1481296686663">
+/*]]>*/</style><div class="toc-macro rbtoc1481815096514">
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis
1.4 with Apache Camel</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect"
href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect"
href="#BookInOnePage-Introduction">Introduction</a></li><li><a shape="rect"
href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project to
run Axis</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-Maven2">Maven 2</a></li><li><a shape="rect"
href="#BookInOnePage-wsdl">wsdl</a></li><li><a shape="rect"
href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a
shape="rect" href="#BookInOnePage-RunningtheExample">Running the
Example</a></li></ul>
@@ -9113,7 +9113,7 @@ from("direct:start").
<p>The following data formats are currently supported:</p>
-<ul><li>Standard JVM object marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservice marshalling<ul><li><a
shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li><li><a shape="rect"
href="lzf-data-fo
rmat.html">LZF Data Format</a></li></ul></li></ul><ul><li>Security<ul><li><a
shape="rect" href="crypto.html">Crypto</a></li><li><a shape="rect"
href="crypto.html">PGP</a></li><li><a shape="rect"
href="xmlsecurity-dataformat.html">XMLSecurity
DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
href="base64.html">Base64</a></li><li><a shape="rect"
href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
implementation</li><li><a shape="rect"
href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
href="rss.html">RSS</a></li><li><a shape="rect"
href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
href="syslog.html">Syslog</a></li><li><a shape="rect"
href="ical.html">ICal</a></li><li><a shape="rect"
href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
(QR-Code, PDF417, ...)</li></ul></li></ul>
+<ul><li>Standard JVM object marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservice marshalling<ul><li><a
shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li><li><a shape="rect"
href="lzf-data-fo
rmat.html">LZF Data Format</a></li><li><a shape="rect"
href="tar-dataformat.html">Tar
DataFormat</a></li></ul></li></ul><ul><li>Security<ul><li><a shape="rect"
href="crypto.html">Crypto</a></li><li><a shape="rect"
href="crypto.html">PGP</a></li><li><a shape="rect"
href="xmlsecurity-dataformat.html">XMLSecurity
DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
href="base64.html">Base64</a></li><li><a shape="rect"
href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
implementation</li><li><a shape="rect"
href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
href="rss.html">RSS</a></li><li><a shape="rect"
href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
href="syslog.html">Syslog</a></li><li><a shape="rect"
href="ical.html">ICal</a></li><li><a shape="rect"
href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
(QR-Code, PDF417, ...)</li></ul></li></ul>
<p>And related is the following:</p>
<ul class="alternate"><li><a shape="rect"
href="dataformat-component.html">DataFormat Component</a> for working with <a
shape="rect" href="data-format.html">Data Format</a>s as if it was a regular <a
shape="rect" href="component.html">Component</a> supporting <a shape="rect"
href="endpoint.html">Endpoint</a>s and <a shape="rect"
href="uris.html">URIs</a>.</li><li><a shape="rect"
href="dozer-type-conversion.html">Dozer Type Conversion</a> using Dozer for
type converting POJOs</li></ul>
@@ -14269,8 +14269,8 @@ cometds://localhost:8443/service/mychann
<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">/**/
div.rbtoc1481296724582 {padding: 0px;} div.rbtoc1481296724582 ul {list-style:
disc;margin-left: 0px;} div.rbtoc1481296724582 li {margin-left:
0px;padding-left: 0px;} /**/</style>
- </p><div class="toc-macro rbtoc1481296724582">
+</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">/**/
div.rbtoc1481815107179 {padding: 0px;} div.rbtoc1481815107179 ul {list-style:
disc;margin-left: 0px;} div.rbtoc1481815107179 li {margin-left:
0px;padding-left: 0px;} /**/</style>
+ </p><div class="toc-macro rbtoc1481815107179">
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-CXFComponent">CXF Component</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-URIformat">URI format</a></li><li><a shape="rect"
href="#BookInOnePage-Options">Options</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#BookInOnePage-Thedescriptionsofthedataformats">The descriptions of the
dataformats</a>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/data-format-list.html
==============================================================================
--- websites/production/camel/content/data-format-list.html (original)
+++ websites/production/camel/content/data-format-list.html Thu Dec 15 15:20:21
2016
@@ -75,7 +75,7 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><ul><li>Standard JVM object
marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservi
ce marshalling<ul><li><a shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li
><li><a shape="rect" href="lzf-data-format.html">LZF Data
>Format</a></li></ul></li></ul><ul><li>Security<ul><li><a shape="rect"
>href="crypto.html">Crypto</a></li><li><a shape="rect"
>href="crypto.html">PGP</a></li><li><a shape="rect"
>href="xmlsecurity-dataformat.html">XMLSecurity
>DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
>href="base64.html">Base64</a></li><li><a shape="rect"
>href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
>implementation</li><li><a shape="rect"
>href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
>href="rss.html">RSS</a></li><li><a shape="rect"
>href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
>href="syslog.html">Syslog</a></li><li><a shape="rect"
>href="ical.html">ICal</a></li><li><a shape="rect"
>href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
>(QR-Code, PDF417, ...)</li></ul></li></ul></div>
+<div class="wiki-content maincontent"><ul><li>Standard JVM object
marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservi
ce marshalling<ul><li><a shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li
><li><a shape="rect" href="lzf-data-format.html">LZF Data
>Format</a></li><li><a shape="rect" href="tar-dataformat.html">Tar
>DataFormat</a></li></ul></li></ul><ul><li>Security<ul><li><a shape="rect"
>href="crypto.html">Crypto</a></li><li><a shape="rect"
>href="crypto.html">PGP</a></li><li><a shape="rect"
>href="xmlsecurity-dataformat.html">XMLSecurity
>DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
>href="base64.html">Base64</a></li><li><a shape="rect"
>href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
>implementation</li><li><a shape="rect"
>href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
>href="rss.html">RSS</a></li><li><a shape="rect"
>href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
>href="syslog.html">Syslog</a></li><li><a shape="rect"
>href="ical.html">ICal</a></li><li><a shape="rect"
>href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
>(QR-Code, PDF417, ...)</li></ul></li></ul></di
v>
</td>
<td valign="top">
<div class="navigation">
Modified: websites/production/camel/content/data-format.html
==============================================================================
--- websites/production/camel/content/data-format.html (original)
+++ websites/production/camel/content/data-format.html Thu Dec 15 15:20:21 2016
@@ -92,7 +92,7 @@
<p>The following data formats are currently supported:</p>
-<ul><li>Standard JVM object marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservice marshalling<ul><li><a
shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li><li><a shape="rect"
href="lzf-data-fo
rmat.html">LZF Data Format</a></li></ul></li></ul><ul><li>Security<ul><li><a
shape="rect" href="crypto.html">Crypto</a></li><li><a shape="rect"
href="crypto.html">PGP</a></li><li><a shape="rect"
href="xmlsecurity-dataformat.html">XMLSecurity
DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
href="base64.html">Base64</a></li><li><a shape="rect"
href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
implementation</li><li><a shape="rect"
href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
href="rss.html">RSS</a></li><li><a shape="rect"
href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
href="syslog.html">Syslog</a></li><li><a shape="rect"
href="ical.html">ICal</a></li><li><a shape="rect"
href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
(QR-Code, PDF417, ...)</li></ul></li></ul>
+<ul><li>Standard JVM object marshalling<ul><li><a shape="rect"
href="serialization.html">Serialization</a></li><li><a shape="rect"
href="string.html">String</a></li></ul></li></ul><ul><li>Object
marshalling<ul><li><a shape="rect" href="avro.html">Avro</a></li><li><a
shape="rect" href="boon.html">Boon</a></li><li><a shape="rect"
href="hessian.html">Hessian</a></li><li><a shape="rect"
href="json.html">JSON</a></li><li><a shape="rect"
href="protobuf.html">Protobuf</a></li><li><a shape="rect"
href="yaml-data-format.html">YAML</a></li></ul></li></ul><ul><li>Object/XML
marshalling<ul><li><a shape="rect" href="castor.html">Castor</a></li><li><a
shape="rect" href="jaxb.html">JAXB</a></li><li><a shape="rect"
href="xmlbeans.html">XmlBeans</a></li><li><a shape="rect"
href="xstream.html">XStream</a></li><li><a shape="rect"
href="jibx.html">JiBX</a></li><li><a shape="rect"
href="jackson-xml.html">Jackson
XML</a></li></ul></li></ul><ul><li>Object/XML/Webservice marshalling<ul><li><a
shape="rect"
href="soap.html">SOAP</a></li></ul></li></ul><ul><li>Direct JSON / XML
marshalling<ul><li><a shape="rect"
href="xmljson.html">XmlJson</a></li></ul></li></ul><ul><li>Flat data structure
marshalling<ul><li><a shape="rect" href="beanio.html">BeanIO</a></li><li><a
shape="rect" href="bindy.html">Bindy</a></li><li><a shape="rect"
href="csv.html">CSV</a></li><li><a shape="rect"
href="edi.html">EDI</a></li><li><a shape="rect"
href="flatpack-dataformat.html">Flatpack DataFormat</a></li><li><a shape="rect"
href="univocity-parsers-formats.html">uniVocity-parsers
formats</a></li></ul></li></ul><ul><li>Domain specific marshalling<ul><li><a
shape="rect" href="hl7-dataformat.html">HL7
DataFormat</a></li></ul></li></ul><ul><li>Compression<ul><li><a shape="rect"
href="gzip-data-format.html">GZip data format</a></li><li><a shape="rect"
href="zip-dataformat.html">Zip DataFormat</a></li><li><a shape="rect"
href="zip-file-dataformat.html">Zip File DataFormat</a></li><li><a shape="rect"
href="lzf-data-fo
rmat.html">LZF Data Format</a></li><li><a shape="rect"
href="tar-dataformat.html">Tar
DataFormat</a></li></ul></li></ul><ul><li>Security<ul><li><a shape="rect"
href="crypto.html">Crypto</a></li><li><a shape="rect"
href="crypto.html">PGP</a></li><li><a shape="rect"
href="xmlsecurity-dataformat.html">XMLSecurity
DataFormat</a></li></ul></li></ul><ul><li>Misc.<ul><li><a shape="rect"
href="base64.html">Base64</a></li><li><a shape="rect"
href="custom-dataformat.html">Custom DataFormat</a> - to use your own custom
implementation</li><li><a shape="rect"
href="mime-multipart.html">MIME-Multipart</a></li><li><a shape="rect"
href="rss.html">RSS</a></li><li><a shape="rect"
href="tidymarkup.html">TidyMarkup</a></li><li><a shape="rect"
href="syslog.html">Syslog</a></li><li><a shape="rect"
href="ical.html">ICal</a></li><li><a shape="rect"
href="barcode-data-format.html">Barcode </a>- to read and generate barcodes
(QR-Code, PDF417, ...)</li></ul></li></ul>
<p>And related is the following:</p>
<ul class="alternate"><li><a shape="rect"
href="dataformat-component.html">DataFormat Component</a> for working with <a
shape="rect" href="data-format.html">Data Format</a>s as if it was a regular <a
shape="rect" href="component.html">Component</a> supporting <a shape="rect"
href="endpoint.html">Endpoint</a>s and <a shape="rect"
href="uris.html">URIs</a>.</li><li><a shape="rect"
href="dozer-type-conversion.html">Dozer Type Conversion</a> using Dozer for
type converting POJOs</li></ul>
Added: websites/production/camel/content/tar-dataformat.html
==============================================================================
--- websites/production/camel/content/tar-dataformat.html (added)
+++ websites/production/camel/content/tar-dataformat.html Thu Dec 15 15:20:21
2016
@@ -0,0 +1,202 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html>
+<head>
+ <link href="//camel.apache.org/styles/site.css" rel="stylesheet"
type="text/css">
+ <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet"
type="text/css">
+ <script src="//camel.apache.org/styles/prototype.js"
type="text/javascript"></script>
+ <script src="//camel.apache.org/styles/rico.js"
type="text/javascript"></script>
+ <script src="//camel.apache.org/styles/site.js"
type="text/javascript"></script>
+
+ <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+
+ <style type="text/css">
+ .maincontent { overflow:hidden; }
+ </style>
+ <!--[if IE]>
+ <style type="text/css">
+ .maincontent { width:100%; }
+ </style>
+ <![endif]-->
+
+
+ <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css'
rel='stylesheet' type='text/css' />
+ <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css'
rel='stylesheet' type='text/css' />
+ <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js'
type='text/javascript'></script>
+ <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js'
type='text/javascript'></script>
+ <script src='//camel.apache.org/styles/highlighter/scripts/shBrushXml.js'
type='text/javascript'></script>
+
+ <script type="text/javascript">
+ SyntaxHighlighter.defaults['toolbar'] = false;
+ SyntaxHighlighter.all();
+ </script>
+
+ <title>
+ Apache Camel: Tar DataFormat
+ </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+ <div class="header_l">
+ <div class="header_r">
+ </div>
+ </div>
+</div>
+<div class="content">
+ <div class="content_l">
+ <div class="content_r">
+ <div>
+ <!-- Banner -->
+<div id="banner-content"><div id="asf_logo">
+ <div id="activemq_logo" style="height:108px; background:transparent
url(banner.data/apache-camel-7.png) no-repeat scroll left top;">
+ <a shape="rect" style="float:left;
width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px;
margin-top:20px; margin-left:18px;" href="http://camel.apache.org/">Camel</a>
+ <a shape="rect" style="float:right;
width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px;
margin-top:45px; margin-right:10px;" href="http://www.apache.org">Apache</a>
+ </div>
+</div></div>
+ <!-- Banner -->
+ <div class="top_red_bar">
+ <div id="site-breadcrumbs">
+ <!-- Breadcrumbs -->
+<a href="index.html">Apache Camel</a> > <a
href="documentation.html">Documentation</a> > <a
href="architecture.html">Architecture</a> > <a
href="data-format.html">Data Format</a> > <a
href="tar-dataformat.html">Tar DataFormat</a>
+ </div>
+ <!-- Quicklinks -->
+<div id="site-quicklinks"><p><a shape="rect" href="download.html">Download</a>
| <a shape="rect" href="javadoc.html">JavaDoc</a> | <a shape="rect"
href="source.html">Source</a> | <a shape="rect" class="external-link"
href="https://github.com/apache/camel/" rel="nofollow">Github</a> | <a
shape="rect" href="discussion-forums.html">Forums</a> | <a shape="rect"
href="support.html">Support</a></p></div>
+ <!-- Quicklinks -->
+ </div>
+
+ <table border="0">
+ <tbody>
+ <tr>
+ <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2
id="TarDataFormat-AvailablesinceCamel2.18.0">Available since Camel
2.18.0</h2><p>The Tar File <a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-tarfile/src/main/docs/data-format.html"
rel="nofollow">Data Format</a> is a message compression and
de-compression format. Messages can be marshalled (compressed) to Tar Files
containing a single entry, and Tar Files containing a single entry can be
unmarshalled (decompressed) to the original file contents.</p><div><p>There is
also a aggregation strategy that can aggregate multiple messages into a single
Tar File.</p><h4 id="TarDataFormat-TarFileOptions">TarFile
Options</h4><div><p>The Tar File dataformat supports 1 options which are listed
below.</p><div class="table-wrap"><table class="confluenceTable"><thead><tr><th
colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1"
rowspan="1" class="confluenceTh">Default</th><th
colspan="1" rowspan="1" class="confluenceTh">Java Type</th><th colspan="1"
rowspan="1" class="confluenceTh">Description</th></tr></thead><tbody><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><span>usingIterator</span></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>Boolean</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If the tar file has more then
one entry the setting this option to true allows to work with the splitter EIP
to split the data using an iterator in a streaming
mode.</p></td></tr></tbody></table></div><h4
id="TarDataFormat-Marshal">Marshal</h4><div><p>In this example we marshal a
regular text/XML payload to a compressed payload using Tar File compression,
and send it to an ActiveMQ queue called MY_QUEUE.</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("direct:start").marshal().tarFile().to("activemq:queue:MY_QUEUE");]]></script>
+</div></div><p> </p></div><div><p>The name of the Tar entry inside the
created Tar File is based on the
incoming <code>CamelFileName</code> message header, which is the
standard message header used by the <a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-tarfile/src/main/docs/file2.html"
rel="nofollow">file component</a>. Additionally, the
outgoing <code>CamelFileName</code>message header is automatically set to
the value of the incoming <code>CamelFileName</code> message header,
with the ".tar" suffix. So for example, if the following route finds a file
named "test.txt" in the input directory, the output will be a Tar File named
"test.txt.tar" containing a single Tar entry named "test.txt":</p></div><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("file:input/directory?antInclude=*/.txt").marshal().tarFile().to("file:output/directory");]]></script>
+</div></div><div><span>If there is no
incoming </span><code>CamelFileName</code><span> message header (for
example, if the </span><a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-tarfile/src/main/docs/file2.html"
rel="nofollow">file component</a><span> is not the consumer), then the
message ID is used by default, and since the message ID is normally a unique
generated ID, you will end up with filenames
like </span><code>ID-MACHINENAME-2443-1211718892437-1-0.tar</code><span>.
If you want to override this behavior, then you can set the value of
the </span><code>CamelFileName</code><span> header explicitly in your
route:</span></div><div><p> </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("direct:start").setHeader(Exchange.FILE_NAME,
constant("report.txt")).marshal().tarFile().to("file:output/directory");]]></script>
+</div></div><div><div><p>This route would result in a Tar File named
"report.txt.tar" in the output directory, containing a single Tar entry named
"report.txt".</p><p> </p></div></div><div><h4
id="TarDataFormat-UUnmarshal"><a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-tarfile/src/main/docs/tarfile-dataformat.adoc#unmarshal"
style="" rel="nofollow"></a>UUnmarshal</h4><div><p>In this example we
unmarshal a Tar File payload from an ActiveMQ queue called MY_QUEUE to its
original format, and forward it for processing to
the <code>UnTarpedMessageProcessor</code>.</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("activemq:queue:MY_QUEUE").unmarshal().tarFile().process(new
UnTarpedMessageProcessor()); ]]></script>
+</div></div><div><span>If the Tar File has more then one entry, the
usingIterator option of TarFileDataFormat to be true, and you can use splitter
to do the further work.</span></div><div><p> </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[TarFileDataFormat tarFile = new
TarFileDataFormat();
+ tarFile.setUsingIterator(true);
+
from("file:src/test/resources/org/apache/camel/dataformat/tarfile/?consumer.delay=1000&noop=true")
+ .unmarshal(tarFile)
+ .split(body(Iterator.class))
+ .streaming()
+ .process(new UnTarpedMessageProcessor())
+ .end();]]></script>
+</div></div><p> </p></div><p><span>Or you can use the TarSplitter as an
expression for splitter directly like this</span></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("file:src/test/resources/org/apache/camel/dataformat/tarfile?consumer.delay=1000&noop=true")
+ .split(new TarSplitter())
+ .streaming()
+ .process(new UnTarpedMessageProcessor())
+ .end();]]></script>
+</div></div><h4 id="TarDataFormat-Aggregate">Aggregate</h4><div
class="confluence-information-macro
confluence-information-macro-information"><span class="aui-icon aui-icon-small
aui-iconfont-info confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>Please note that this aggregation
strategy requires eager completion check to work
properly.</p></div></div><p> </p><div><p>In this example we aggregate all
text files found in the input directory into a single Tar File that is stored
in the output directory. </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("file:input/directory?antInclude=*/.txt")
+ .aggregate(new TarAggregationStrategy())
+ .constant(true)
+ .completionFromBatchConsumer()
+ .eagerCheckCompletion()
+ .to("file:output/directory");]]></script>
+</div></div><div><span>The
outgoing </span><code>CamelFileName</code><span> message header is
created using <a shape="rect" class="external-link" href="http://java.io"
rel="nofollow">java.io</a>.File.createTempFile, with the ".tar" suffix. If
you want to override this behavior, then you can set the value of
the </span><code>CamelFileName</code><span> header explicitly in your
route:</span></div><div><p> </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("file:input/directory?antInclude=*/.txt")
+ .aggregate(new TarAggregationStrategy())
+ .constant(true)
+ .completionFromBatchConsumer()
+ .eagerCheckCompletion()
+ .setHeader(Exchange.FILE_NAME, constant("reports.tar"))
+ .to("file:output/directory");]]></script>
+</div></div><p> </p></div><h4
id="TarDataFormat-Dependencies">Dependencies</h4><div><p>To use Tar Files in
your camel routes you need to add a dependency
on <span>camel-tarfile</span> which implements this data
format.</p></div><div><p>If you use Maven you can just add the following to
your <code>pom.xml</code>, substituting the version number for the latest
& greatest release (see <a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-tarfile/src/main/docs/download.html"
rel="nofollow">the download page for the latest
versions</a>).</p></div></div><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[<dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-tarfile</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency>]]></script>
+</div></div><p><span><br
clear="none"></span></p></div></div></div></div></div></div>
+ </td>
+ <td valign="top">
+ <div class="navigation">
+ <div class="navigation_top">
+ <!-- NavigationBar -->
+<div class="navigation_bottom" id="navigation_bottom"><h3
id="Navigation-Overview"><a shape="rect"
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect"
href="index.html">Home</a></li><li><a shape="rect"
href="download.html">Download</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li><li><a shape="rect"
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a
shape="rect" href="documentation.html">Documentation</a></h3><ul
class="alternate"><li><a shape="rect" href="user-guide.html">User
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a
shape="rect" href="books.html">Books</a></li><li><a shape="rect"
href="tutorials.html">Tutorials</a></li><li><a shape="rect"
href="examples.html">Examples</a></li><li><a shape="rect"
href="cookbook.html">Cookbook</a></li><li><a shape="rect"
href="architecture.html">Architecture</a></li><li><a shape="rect"
href="enterprise-integration-patterns.html">Enterprise
Integration Patterns</a></li><li><a shape="rect"
href="dsl.html">DSL</a></li><li><a shape="rect"
href="components.html">Components</a></li><li><a shape="rect"
href="data-format.html">Data Format</a></li><li><a shape="rect"
href="languages.html">Languages</a></li><li><a shape="rect"
href="security.html">Security</a></li><li><a shape="rect"
href="security-advisories.html">Security Advisories</a></li></ul><h3
id="Navigation-Search">Search</h3><form
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box"
action="http://www.google.com/cse">
+ <div>
+ <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
+ <input type="hidden" name="ie" value="UTF-8">
+ <input type="text" name="q" size="21">
+ <input type="submit" name="sa" value="Search">
+ </div>
+</form>
+<script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script><h3
id="Navigation-Community"><a shape="rect"
href="community.html">Community</a></h3><ul class="alternate"><li><a
shape="rect" href="support.html">Support</a></li><li><a shape="rect"
href="contributing.html">Contributing</a></li><li><a shape="rect"
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect"
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect"
href="user-stories.html">User Stories</a></li><li><a shape="rect"
href="news.html">News</a></li><li><a shape="rect"
href="articles.html">Articles</a></li><li><a shape="rect"
href="site.html">Site</a></li><li><a shape="rect"
href="team.html">Team</a></li><li><a shape="rect" class="external-link"
href="http://camel-extra.googlecode.com/" rel="nofollow">Camel
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect"
href="developers.html">Developers</a></h3><ul class="alternate"
><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a
>shape="rect" href="source.html">Source</a></li><li><a shape="rect"
>class="external-link" href="https://github.com/apache/camel/"
>rel="nofollow">Github</a></li><li><a shape="rect"
>href="building.html">Building</a></li><li><a shape="rect"
>href="javadoc.html">JavaDoc</a></li><li><a shape="rect"
>href="irc-room.html">IRC Room</a></li></ul><h3
>id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul
>class="alternate"><li><a shape="rect" class="external-link"
>href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect"
>class="external-link"
>href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a
> shape="rect" class="external-link"
>href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a
>shape="rect" class="external-link"
>href="http://www.apache.org/security/">Security</a></li></ul></div>
+ <!-- NavigationBar -->
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+ <div class="bottom_red_bar"></div>
+ </div>
+ </div>
+ </div>
+</div>
+<div class="black_box">
+<div class="footer">
+ <div class="footer_l">
+ <div class="footer_r">
+ <div>
+ <a href="$base/privacy-policy.html">Privacy Policy</a> -
+ (<a
href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=67635000">edit
page</a>)
+ (<a
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=67635000&showComments=true&showCommentArea=true#addcomment">add
comment</a>)
+ </div>
+ </div>
+ </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+© 2004-2015 The Apache Software Foundation.
+<br>
+Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel
project logo are trademarks of The Apache Software Foundation. All other marks
mentioned may be trademarks or registered trademarks of their respective owners.
+<br>
+<a href="http://hiramchirino.com">Graphic Design By Hiram</a>
+</div>
+
+<!-- Camel committers that would like access to the Analytics, send a note to
[email protected] -->
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-25976253-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
+
+</body>
+</html>
+
+