Author: buildbot
Date: Tue Nov 12 09:19:02 2013
New Revision: 886279
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/mina2.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/mina2.html
==============================================================================
--- websites/production/camel/content/mina2.html (original)
+++ websites/production/camel/content/mina2.html Tue Nov 12 09:19:02 2013
@@ -128,7 +128,7 @@ However, the option, <b>transferExchange
<h3><a shape="rect" name="MINA2-Options"></a>Options</h3>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Option </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>codec</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> You can refer to a named <tt>ProtocolCodecFactory</tt>
instance in your <a shape="rect" href="registry.html"
title="Registry">Registry</a> such as your Spring <tt>ApplicationContext</tt>,
which is then used for the marshalling. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether or not to disconnect(close) from Mina
session right after use. Can be used for both consumer and producer. </td></
tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>textline</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP. If no codec is
specified, you can use this flag to indicate a text line based codec; if not
specified or the value is <tt>false</tt>, then Object Serialization is assumed
over TCP. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>textlineDelimiter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>DEFAULT</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Only used for TCP and if <b>textline=true</b>. Sets the
text line delimiter to use. Possible values are: <tt>DEFAULT</tt>,
<tt>AUTO</tt>, <tt>WINDOWS</tt>, <tt>UNIX</tt> or <tt>MAC</tt>. If none
provided, Camel will use <tt>DEFAULT</tt>. This delimiter is used to mark the
end of text. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>sync</tt> </td><td colspa
n="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Setting to set endpoint as one-way or
request-response. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>lazySessionCreation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Sessions can be lazily created to avoid
exceptions, if the remote server is not up and running when the Camel producer
is started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>timeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>30000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can
configure the timeout that specifies how long to wait for a response from a
remote server. The timeout unit is in milliseconds, so 60000 is 60 seconds. The
timeout is only used for Mina producer. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>encodi
ng</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <em>JVM
Default</em> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can
configure the encoding (a <a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html"
rel="nofollow">charset name</a>) to use for the TCP textline codec and the UDP
protocol. If not provided, Camel will use the <a shape="rect"
class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html#defaultCharset()"
rel="nofollow">JVM default Charset</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>transferExchange</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP. You can
transfer the exchange over the wire instead of just the body. The following
fields are transferred: In body, Out body, fault body, In headers, Out headers,
fault headers,
exchange properties, exchange exception. This requires that the objects are
<em>serializable</em>. Camel will exclude any non-serializable objects and log
it at <tt>WARN</tt> level. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>minaLogger</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> You can enable the Apache MINA logging filter. Apache
MINA uses <tt>slf4j</tt> logging at <tt>INFO</tt> level to log all input and
output. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can
set a list of <a shape="rect" class="external-link"
href="http://mina.apache.org/iofilter.html">Mina IoFilters</a> to register. The
<tt>filters</tt> can be specified as a comma-separate list of bean references
(e.g. <tt>#filterBean1,#filterBean2</tt>) w
here each bean must be of type <tt>org.apache.mina.common.IoFilter</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>encoderMaxLineLength</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Set the textline protocol encoder max line length. By
default the default value of Mina itself is used which are
<tt>Integer.MAX_VALUE</tt>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>decoderMaxLineLength</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Set the textline protocol decoder max line length. By
default the default value of Mina itself is used which are 1024.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>maximumPoolSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
16 </td><td colspan="1" rowspan="1" class="confluenceTd"> The TCP producer is
thread saf
e and supports concurrency much better. This option allows you to configure
the number of threads in its thread pool for concurrent producers. <b>Note:</b>
Camel has a pooled service which ensured it was already thread safe and
supported concurrency already. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>allowDefaultCodec</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> The mina component installs a default codec
if both, <tt>codec</tt> is <tt>null</tt> and <tt>textline</tt> is
<tt>false</tt>. Setting <tt>allowDefaultCodec</tt> to <tt>false</tt> prevents
the mina component from installing a default codec as the first element in the
filter chain. This is useful in scenarios where another filter must be the
first in the filter chain, like the SSL filter. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>disconnectOnNoReply</tt> </td><td
colspan="1" rowspan="1" class="
confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> If sync is enabled then this option dictates MinaConsumer
if it should disconnect where there is no reply to send back. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>noReplyLogLevel</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>WARN</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> If sync is enabled this option
dictates MinaConsumer which logging level to use when logging a there is no
reply to send back. Values are: <tt>FATAL, ERROR, INFO, DEBUG, OFF</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>orderedThreadPoolExecutor</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether to use ordered thread pool, to ensure events are
processed orderly on the same channel. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextPar
ameters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> SSL
configuration using an <tt>org.apache.camel.util.jsse.SSLContextParameters</tt>
instance. See <span class="error">[Using the JSSE Configuration
Utility]</span>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>autoStartTls</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether to auto start SSL handshake.
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Option </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>codec</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> You can refer to a named <tt>ProtocolCodecFactory</tt>
instance in your <a shape="rect" href="registry.html"
title="Registry">Registry</a> such as your Spring <tt>ApplicationContext</tt>,
which is then used for the marshalling. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Whether or not to disconnect(close) from Mina
session right after use. Can be used for both consumer and producer. </td></
tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>textline</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP. If no codec is
specified, you can use this flag to indicate a text line based codec; if not
specified or the value is <tt>false</tt>, then Object Serialization is assumed
over TCP. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>textlineDelimiter</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>DEFAULT</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Only used for TCP and if <b>textline=true</b>. Sets the
text line delimiter to use. Possible values are: <tt>DEFAULT</tt>,
<tt>AUTO</tt>, <tt>WINDOWS</tt>, <tt>UNIX</tt> or <tt>MAC</tt>. If none
provided, Camel will use <tt>DEFAULT</tt>. This delimiter is used to mark the
end of text. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>sync</tt> </td><td colspa
n="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Setting to set endpoint as one-way or
request-response. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>lazySessionCreation</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Sessions can be lazily created to avoid
exceptions, if the remote server is not up and running when the Camel producer
is started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>timeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>30000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can
configure the timeout that specifies how long to wait for a response from a
remote server. The timeout unit is in milliseconds, so 60000 is 60 seconds. The
timeout is only used for Mina producer. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>encodi
ng</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <em>JVM
Default</em> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can
configure the encoding (a <a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html"
rel="nofollow">charset name</a>) to use for the TCP textline codec and the UDP
protocol. If not provided, Camel will use the <a shape="rect"
class="external-link"
href="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html#defaultCharset()"
rel="nofollow">JVM default Charset</a>. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>transferExchange</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP. You can
transfer the exchange over the wire instead of just the body. The following
fields are transferred: In body, Out body, fault body, In headers, Out headers,
fault headers,
exchange properties, exchange exception. This requires that the objects are
<em>serializable</em>. Camel will exclude any non-serializable objects and log
it at <tt>WARN</tt> level. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>minaLogger</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> You can enable the Apache MINA logging filter. Apache
MINA uses <tt>slf4j</tt> logging at <tt>INFO</tt> level to log all input and
output. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>filters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can
set a list of <a shape="rect" class="external-link"
href="http://mina.apache.org/iofilter.html">Mina IoFilters</a> to register. The
<tt>filters</tt> can be specified as a comma-separate list of bean references
(e.g. <tt>#filterBean1,#filterBean2</tt>) w
here each bean must be of type <tt>org.apache.mina.common.IoFilter</tt>.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>encoderMaxLineLength</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Set the textline protocol encoder max line length. By
default the default value of Mina itself is used which are
<tt>Integer.MAX_VALUE</tt>. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>decoderMaxLineLength</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Set the textline protocol decoder max line length. By
default the default value of Mina itself is used which are 1024.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>maximumPoolSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
16 </td><td colspan="1" rowspan="1" class="confluenceTd"> Number of worker
threads in th
e worker pool for TCP and UDP (UDP requires <b>Camel 2.11.3/2.12.2</b>
onwards). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>allowDefaultCodec</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The mina component installs a default codec if both,
<tt>codec</tt> is <tt>null</tt> and <tt>textline</tt> is <tt>false</tt>.
Setting <tt>allowDefaultCodec</tt> to <tt>false</tt> prevents the mina
component from installing a default codec as the first element in the filter
chain. This is useful in scenarios where another filter must be the first in
the filter chain, like the SSL filter. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>disconnectOnNoReply</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> If sync is enabled then this
option dictates MinaConsumer if it should disconnect where there
is no reply to send back. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>noReplyLogLevel</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>WARN</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> If sync is enabled this option dictates MinaConsumer
which logging level to use when logging a there is no reply to send back.
Values are: <tt>FATAL, ERROR, INFO, DEBUG, OFF</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>orderedThreadPoolExecutor</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether to use ordered thread pool, to ensure events are
processed orderly on the same channel. </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> <tt>sslContextParameters</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> SSL configuration using an
<tt>org.apache
.camel.util.jsse.SSLContextParameters</tt> instance. See <span
class="error">[Using the JSSE Configuration Utility]</span>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>autoStartTls</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether to auto start SSL
handshake. </td></tr></tbody></table>
</div>
</div>