Author: buildbot
Date: Tue Mar 29 16:22:21 2016
New Revision: 984170
Log:
Production update by buildbot for camel
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/properties.html
websites/production/camel/content/using-propertyplaceholder.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 Tue Mar 29
16:22:21 2016
@@ -1016,11 +1016,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.rbtoc1459023662098 {padding: 0px;}
-div.rbtoc1459023662098 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1459023662098 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1459268326704 {padding: 0px;}
+div.rbtoc1459268326704 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1459268326704 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1459023662098">
+/*]]>*/</style></p><div class="toc-macro rbtoc1459268326704">
<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>
@@ -8414,7 +8414,7 @@ protected Properties useOverrideProperti
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ @PropertyInject(value =
"myTimeout", defaultValue = "5000")
private int timeout;
]]></script>
-</div></div><h3 id="BookComponentAppendix-Usingoutoftheboxfunctions">Using out
of the box functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.name - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is intende
d to make it easy to lookup values from the environment. As they are provided
out of the box, they can easily be used as shown below:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="BookComponentAppendix-Usingoutoftheboxfunctions">Using out
of the box functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.host - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is intende
d to make it easy to lookup values from the environment. As they are provided
out of the box, they can easily be used as shown below:</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[ <camelContext
xmlns="http://camel.apache.org/schema/blueprint">
<route>
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 Tue Mar 29 16:22:21
2016
@@ -122,7 +122,7 @@ ConnectionFactory connectionFactory = ne
// Note we can explicit name the component
context.addComponent("test-jms",
JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));
]]></script>
-</div></div><p>The above works with any JMS provider. If we know we are using
<a shape="rect" href="activemq.html">ActiveMQ</a> we can use an even simpler
form using the <a shape="rect" class="external-link"
href="http://activemq.apache.org/maven/5.5.0/activemq-camel/apidocs/org/apache/activemq/camel/component/ActiveMQComponent.html#activeMQComponent%28java.lang.String%29"><code>activeMQComponent()</code>
method</a> while specifying the <a shape="rect" class="external-link"
href="http://activemq.apache.org/configuring-transports.html">brokerURL</a>
used to connect to ActiveMQ</p>An error occurred: Unable to retrieve the URL:
https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob_plain;hb=HEAD;f=trunk/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQRouteTest.java
status code: 404. The error has been recorded.<p>In normal use, an external
system would be firing messages or events directly into Camel through one if
its <a shape="rect" href="components.ht
ml">Components</a> but we are going to use the <a shape="rect"
class="external-link"
href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ProducerTemplate.html">ProducerTemplate</a>
which is a really easy way for testing your configuration:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>The above works with any JMS provider. If we know we are using
<a shape="rect" href="activemq.html">ActiveMQ</a> we can use an even simpler
form using the <a shape="rect" class="external-link"
href="http://activemq.apache.org/maven/5.5.0/activemq-camel/apidocs/org/apache/activemq/camel/component/ActiveMQComponent.html#activeMQComponent%28java.lang.String%29"><code>activeMQComponent()</code>
method</a> while specifying the <a shape="rect" class="external-link"
href="http://activemq.apache.org/configuring-transports.html">brokerURL</a>
used to connect to ActiveMQ</p><div class="error"><span class="error">Error
formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20,
Size: 20</span> </div><p>In normal use, an external system would be firing
messages or events directly into Camel through one if its <a shape="rect"
href="components.html">Components</a> but we are going to use the <a
shape="rect" class="external-link" href="http://camel.apache.org/maven/cu
rrent/camel-core/apidocs/org/apache/camel/ProducerTemplate.html">ProducerTemplate</a>
which is a really easy way for testing your configuration:</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[
ProducerTemplate template = context.createProducerTemplate();
]]></script>
@@ -3729,11 +3729,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.rbtoc1459088280138 {padding: 0px;}
-div.rbtoc1459088280138 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1459088280138 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1459268386779 {padding: 0px;}
+div.rbtoc1459268386779 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1459268386779 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1459088280138">
+/*]]>*/</style></p><div class="toc-macro rbtoc1459268386779">
<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>
@@ -5848,11 +5848,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.rbtoc1459088281307 {padding: 0px;}
-div.rbtoc1459088281307 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1459088281307 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1459268388091 {padding: 0px;}
+div.rbtoc1459268388091 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1459268388091 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style><div class="toc-macro rbtoc1459088281307">
+/*]]>*/</style><div class="toc-macro rbtoc1459268388091">
<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>
@@ -16672,10 +16672,7 @@ public class BlogService {
<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="rss.html">RSS</a></li></ul> <h2
id="BookInOnePage-BeanComponent.1">Bean Component</h2><p>The
<strong>bean:</strong> component binds beans to Camel message exchanges.</p><h3
id="BookInOnePage-URIformat.4">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[bean:beanID[?options]
]]></script>
-</div></div><p>Where <strong>beanID</strong> can be any string which is used
to look up the bean in the <a shape="rect"
href="registry.html">Registry</a></p><h3
id="BookInOnePage-Options.23">Options</h3><div
class="confluenceTableSmall"><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>Type</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><code>method</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The method name from the bean that will be
invoked. If not provided, Camel will try to determine the method itself. In
case o
f ambiguity an exception will be thrown. See <a shape="rect"
href="bean-binding.html">Bean Binding</a> for more details. From <strong>Camel
2.8</strong> onwards you can specify type qualifiers to pin-point the exact
method to use for overloaded methods. From <strong>Camel 2.9</strong> onwards
you can specify parameter values directly in the method syntax. See more
details at <a shape="rect" href="bean-binding.html">Bean
Binding</a>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>cache</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>boolean</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If enabled, Camel will cache the result of
the first <a shape="rect" href="registry.html">Registry</a> look-up. Cache can
be enabled if the bean in the <a shape="rect" href="registry.html">Registry</a>
is defined as a singleton scope.</p></td></tr><tr>
<td colspan="1" rowspan="1"
class="confluenceTd"><p><code>multiParameterArray</code></p></td><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>boolean</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>How to treat the parameters which are
passed from the message body; if it is <code>true</code>, the In message body
should be an array of parameters.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>bean.xxx</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong style="line-height: 1.42857;">Camel
2.17:</strong> To configure additional options on the create bean instance
from the class name. For example to configure a foo option on the bean, use
bean.foo=123.</p></td></tr></tbody></table></div></div><p>You can append query
options to the URI in the following format,
<code>?option=value&option=value&...</code></p><h3
id="BookInOnePage-Using">Using</h3><p>The object instance that is used to
consume messages must be explicitly registered with the <a shape="rect"
href="registry.html">Registry</a>. For example, if you are using Spring you
must define the bean in the Spring configuration, <code>spring.xml</code>; or
if you don't use Spring, by registering the bean in JNDI.</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[
-]]></script>
-</div></div>Once an endpoint has been registered, you can build Camel routes
that use it to process exchanges.<div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Where <strong>beanID</strong> can be any string which is used
to look up the bean in the <a shape="rect"
href="registry.html">Registry</a></p><h3
id="BookInOnePage-Options.23">Options</h3><div
class="confluenceTableSmall"><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>Type</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><code>method</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The method name from the bean that will be
invoked. If not provided, Camel will try to determine the method itself. In
case o
f ambiguity an exception will be thrown. See <a shape="rect"
href="bean-binding.html">Bean Binding</a> for more details. From <strong>Camel
2.8</strong> onwards you can specify type qualifiers to pin-point the exact
method to use for overloaded methods. From <strong>Camel 2.9</strong> onwards
you can specify parameter values directly in the method syntax. See more
details at <a shape="rect" href="bean-binding.html">Bean
Binding</a>.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>cache</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>boolean</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>If enabled, Camel will cache the result of
the first <a shape="rect" href="registry.html">Registry</a> look-up. Cache can
be enabled if the bean in the <a shape="rect" href="registry.html">Registry</a>
is defined as a singleton scope.</p></td></tr><tr>
<td colspan="1" rowspan="1"
class="confluenceTd"><p><code>multiParameterArray</code></p></td><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>boolean</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>How to treat the parameters which are
passed from the message body; if it is <code>true</code>, the In message body
should be an array of parameters.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>bean.xxx</p></td><td colspan="1" rowspan="1"
class="confluenceTd"> </td><td colspan="1" rowspan="1"
class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong style="line-height: 1.42857;">Camel
2.17:</strong> To configure additional options on the create bean instance
from the class name. For example to configure a foo option on the bean, use
bean.foo=123.</p></td></tr></tbody></table></div></div><p>You can append query
options to the URI in the following format,
<code>?option=value&option=value&...</code></p><h3
id="BookInOnePage-Using">Using</h3><p>The object instance that is used to
consume messages must be explicitly registered with the <a shape="rect"
href="registry.html">Registry</a>. For example, if you are using Spring you
must define the bean in the Spring configuration, <code>spring.xml</code>; or
if you don't use Spring, by registering the bean in JNDI.</p><div
class="error"><span class="error">Error formatting macro: snippet:
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>Once an
endpoint has been registered, you can build Camel routes that use it to process
exchanges.<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[
// lets add simple route
camelContext.addRoutes(new RouteBuilder() {
@@ -17284,11 +17281,11 @@ template.send("direct:alias-verify&
]]></script>
</div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">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="BookInOnePage-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 consume 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.rbtoc1459088349519 {padding: 0px;}
-div.rbtoc1459088349519 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1459088349519 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1459268444320 {padding: 0px;}
+div.rbtoc1459268444320 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1459268444320 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1459088349519">
+/*]]>*/</style></p><div class="toc-macro rbtoc1459268444320">
<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>
@@ -18681,10 +18678,7 @@ Exchange.FILE_NAME = foo/bye.txt => /
</properties>
</persistence-unit>
]]></script>
-</div></div>Then we need to setup a Spring <code>jpaTemplate</code> in the
spring XML file:<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[
-]]></script>
-</div></div>And finally we can create our JPA idempotent repository in the
spring XML file as well:<div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div>Then we need to setup a Spring <code>jpaTemplate</code> in the
spring XML file:<div class="error"><span class="error">Error formatting macro:
snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span>
</div>And finally we can create our JPA idempotent repository in the spring XML
file as well:<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[
<!-- we define our jpa based idempotent repository we want to use in the
file consumer -->
<bean id="jpaStore"
class="org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository">
@@ -22025,10 +22019,7 @@ public class MultiSteps {
</properties>
</persistence-unit>
]]></script>
-</div></div>Second we have to setup a
<code>org.springframework.orm.jpa.JpaTemplate</code> which is used by the
<code>org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository</code>:<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[
-]]></script>
-</div></div>Afterwards we can configure our
<code>org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository</code>:<div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div>Second we have to setup a
<code>org.springframework.orm.jpa.JpaTemplate</code> which is used by the
<code>org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository</code>:<div
class="error"><span class="error">Error formatting macro: snippet:
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span>
</div>Afterwards we can configure our
<code>org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository</code>:<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[
<!-- we define our jpa based idempotent repository we want to use in the
file consumer -->
<bean id="jpaStore"
class="org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository">
@@ -24024,7 +24015,7 @@ TargetCompID=YOUR_TARGET
.withField(ExecTransType.FIELD, Integer.toString(ExecTransType.STATUS))
.withField(OrderID.FIELD, request.getString(OrderID.FIELD)));
]]></script>
-</div></div><h4 id="BookInOnePage-Example.28">Example</h4><p>The source code
contains an example called <code>RequestReplyExample</code> that demonstrates
the InOut exchanges<br clear="none"> for a consumer and producer. This example
creates a simple HTTP server endpoint that accepts order<br clear="none">
status requests. The HTTP request is converted to a FIX
OrderStatusRequestMessage, is augmented with a<br clear="none"> correlation
criteria, and is then routed to a quickfix endpoint. The response is then
converted to a<br clear="none"> JSON-formatted string and sent back to the HTTP
server endpoint to be provided as the web response.</p><p>The Spring
configuration have changed from Camel 2.9 onwards. See further below for
example.</p><h3 id="BookInOnePage-SpringConfiguration">Spring
Configuration</h3><p><strong>Camel 2.6 - 2.8.x</strong></p><p>The QuickFIX/J
component includes a Spring <code>FactoryBean</code> for configuring the
session settings within a Spring context. A type
converter for QuickFIX/J session ID strings is also included. The following
example shows a simple configuration of an acceptor and initiator session with
default settings for both sessions.</p>An error occurred: Unable to retrieve
the URL:
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob_plain;hb=HEAD;f=branches/camel-2.8.x/components/camel-quickfix/src/test/resources/org/apache/camel/component/quickfixj/QuickfixjSpringTest-context.xml
status code: 404. The error has been recorded.<p><strong>Camel 2.9
onwards</strong></p><p>The QuickFIX/J component includes a
<code>QuickfixjConfiguration</code> class for configuring the session settings.
A type converter for QuickFIX/J session ID strings is also included. The
following example shows a simple configuration of an acceptor and initiator
session with default settings for both sessions.</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h4 id="BookInOnePage-Example.28">Example</h4><p>The source code
contains an example called <code>RequestReplyExample</code> that demonstrates
the InOut exchanges<br clear="none"> for a consumer and producer. This example
creates a simple HTTP server endpoint that accepts order<br clear="none">
status requests. The HTTP request is converted to a FIX
OrderStatusRequestMessage, is augmented with a<br clear="none"> correlation
criteria, and is then routed to a quickfix endpoint. The response is then
converted to a<br clear="none"> JSON-formatted string and sent back to the HTTP
server endpoint to be provided as the web response.</p><p>The Spring
configuration have changed from Camel 2.9 onwards. See further below for
example.</p><h3 id="BookInOnePage-SpringConfiguration">Spring
Configuration</h3><p><strong>Camel 2.6 - 2.8.x</strong></p><p>The QuickFIX/J
component includes a Spring <code>FactoryBean</code> for configuring the
session settings within a Spring context. A type
converter for QuickFIX/J session ID strings is also included. The following
example shows a simple configuration of an acceptor and initiator session with
default settings for both sessions.</p><div class="error"><span
class="error">Error formatting macro: snippet:
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span>
</div><p><strong>Camel 2.9 onwards</strong></p><p>The QuickFIX/J component
includes a <code>QuickfixjConfiguration</code> class for configuring the
session settings. A type converter for QuickFIX/J session ID strings is also
included. The following example shows a simple configuration of an acceptor and
initiator session with default settings for both sessions.</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[
<!-- tag::e1[] -->
<!-- camel route -->
@@ -24688,7 +24679,7 @@ protected Properties useOverrideProperti
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ @PropertyInject(value =
"myTimeout", defaultValue = "5000")
private int timeout;
]]></script>
-</div></div><h3 id="BookInOnePage-Usingoutoftheboxfunctions">Using out of the
box functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.name - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is intended to mak
e it easy to lookup values from the environment. As they are provided out of
the box, they can easily be used as shown below:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="BookInOnePage-Usingoutoftheboxfunctions">Using out of the
box functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.host - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is intended to mak
e it easy to lookup values from the environment. As they are provided out of
the box, they can easily be used as shown below:</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[ <camelContext
xmlns="http://camel.apache.org/schema/blueprint">
<route>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/properties.html
==============================================================================
--- websites/production/camel/content/properties.html (original)
+++ websites/production/camel/content/properties.html Tue Mar 29 16:22:21 2016
@@ -600,7 +600,7 @@ protected Properties useOverrideProperti
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ @PropertyInject(value =
"myTimeout", defaultValue = "5000")
private int timeout;
]]></script>
-</div></div><h3 id="Properties-Usingoutoftheboxfunctions">Using out of the box
functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.name - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is intended to make i
t easy to lookup values from the environment. As they are provided out of the
box, they can easily be used as shown below:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h3 id="Properties-Usingoutoftheboxfunctions">Using out of the box
functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.host - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is intended to make i
t easy to lookup values from the environment. As they are provided out of the
box, they can easily be used as shown below:</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[ <camelContext
xmlns="http://camel.apache.org/schema/blueprint">
<route>
Modified: websites/production/camel/content/using-propertyplaceholder.html
==============================================================================
--- websites/production/camel/content/using-propertyplaceholder.html (original)
+++ websites/production/camel/content/using-propertyplaceholder.html Tue Mar 29
16:22:21 2016
@@ -597,7 +597,7 @@ protected Properties useOverrideProperti
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[ @PropertyInject(value =
"myTimeout", defaultValue = "5000")
private int timeout;
]]></script>
-</div></div><h3 id="UsingPropertyPlaceholder-Usingoutoftheboxfunctions">Using
out of the box functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.name - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is inte
nded to make it easy to lookup values from the environment. As they are
provided out of the box, they can easily be used as shown below:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><h3 id="UsingPropertyPlaceholder-Usingoutoftheboxfunctions">Using
out of the box functions</h3><p><strong>Available as of Camel
2.14.1</strong></p><p>The <a shape="rect"
href="properties.html">Properties</a> component includes the following
functions out of the box</p><ul><li>env - A function to lookup the property
from OS environment variables</li><li>sys - A function to lookup the property
from Java JVM system properties</li><li>service - A function to lookup the
property from OS environment variables using the service naming
idiom</li><li>service.host - <strong>Camel 2.16.1: </strong>A function to
lookup the property from OS environment variables using the service naming
idiom returning the hostname part only</li><li>service.port -
<strong>Camel 2.16.1: </strong>A function to lookup the property from
OS environment variables using the service naming idiom returning the port part
only</li></ul><p>As you can see these functions is inte
nded to make it easy to lookup values from the environment. As they are
provided out of the box, they can easily be used as shown below:</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[ <camelContext
xmlns="http://camel.apache.org/schema/blueprint">
<route>