Author: buildbot Date: Fri May 3 06:23:57 2013 New Revision: 860677 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/mina.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 Fri May 3 06:23:57 2013 @@ -11214,7 +11214,7 @@ However, the option, <b>transferExchange <h3><a shape="rect" name="BookComponentAppendix-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>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You must use the <tt>#</tt> notation to look up your codec in the <a shape="rect" href="registry.html" title="Registry"> Registry</a>. For example, use <tt>#myCodec</tt> to look up a bean with the <tt>id</tt> value, <tt>myCodec</tt>. </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"> <b>Camel 2.3:</b> 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" cla ss="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 colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can configure the exchange pattern to be either InOnly (default) or InOut. Setting <tt>sync=true</tt> means a synchronous exchange (InOut), where the client can read the response from MINA (the exchange Out message). </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" rowspa n="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>3000</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>encoding</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 textlin e 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> value must be one of the following: +<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>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You must use the <tt>#</tt> notation to look up your codec in the <a shape="rect" href="registry.html" title="Registry"> Registry</a>. For example, use <tt>#myCodec</tt> to look up a bean with the <tt>id</tt> value, <tt>myCodec</tt>. </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"> <b>Camel 2.3:</b> 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" cla ss="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 colspan="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>3000</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>encoding</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/charse t/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> value must be one of the following: <ul><li><b>Camel 2.2:</b> comma-separated list of bean references (e.g. <tt>#filterBean1,#filterBean2</tt>) where each bean must be of type <tt>org.apache.mina.common.IoFilter</tt>.</li><li><b>before Camel 2.2:</b> a reference to a bean of type <tt>List<org.apache.mina.common.IoFilter></tt>.</li></ul> </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"> As of 2.1, you can 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"> As of 2.1, you can 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>producerPoolSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 16 </td><td colspan="1" rowspan="1" class="confluenceTd"> The TCP producer is thread safe 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"> <b>Camel >2.3:</b> 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"> <b>Camel 2.3:</b> 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></tbody></table> </div> 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 Fri May 3 06:23:57 2013 @@ -32228,7 +32228,7 @@ However, the option, <b>transferExchange <h3><a shape="rect" name="BookInOnePage-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>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You must use the <tt>#</tt> notation to look up your codec in the <a shape="rect" href="registry.html" title="Registry"> Registry</a>. For example, use <tt>#myCodec</tt> to look up a bean with the <tt>id</tt> value, <tt>myCodec</tt>. </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"> <b>Camel 2.3:</b> 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" cla ss="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 colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can configure the exchange pattern to be either InOnly (default) or InOut. Setting <tt>sync=true</tt> means a synchronous exchange (InOut), where the client can read the response from MINA (the exchange Out message). </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" rowspa n="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>3000</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>encoding</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 textlin e 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> value must be one of the following: +<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>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You must use the <tt>#</tt> notation to look up your codec in the <a shape="rect" href="registry.html" title="Registry"> Registry</a>. For example, use <tt>#myCodec</tt> to look up a bean with the <tt>id</tt> value, <tt>myCodec</tt>. </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"> <b>Camel 2.3:</b> 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" cla ss="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 colspan="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>3000</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>encoding</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/charse t/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> value must be one of the following: <ul><li><b>Camel 2.2:</b> comma-separated list of bean references (e.g. <tt>#filterBean1,#filterBean2</tt>) where each bean must be of type <tt>org.apache.mina.common.IoFilter</tt>.</li><li><b>before Camel 2.2:</b> a reference to a bean of type <tt>List<org.apache.mina.common.IoFilter></tt>.</li></ul> </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"> As of 2.1, you can 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"> As of 2.1, you can 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>producerPoolSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 16 </td><td colspan="1" rowspan="1" class="confluenceTd"> The TCP producer is thread safe 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"> <b>Camel >2.3:</b> 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"> <b>Camel 2.3:</b> 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></tbody></table> </div> Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/mina.html ============================================================================== --- websites/production/camel/content/mina.html (original) +++ websites/production/camel/content/mina.html Fri May 3 06:23:57 2013 @@ -115,7 +115,7 @@ However, the option, <b>transferExchange <h3><a shape="rect" name="MINA-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>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You must use the <tt>#</tt> notation to look up your codec in the <a shape="rect" href="registry.html" title="Registry"> Registry</a>. For example, use <tt>#myCodec</tt> to look up a bean with the <tt>id</tt> value, <tt>myCodec</tt>. </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"> <b>Camel 2.3:</b> 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" cla ss="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 colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can configure the exchange pattern to be either InOnly (default) or InOut. Setting <tt>sync=true</tt> means a synchronous exchange (InOut), where the client can read the response from MINA (the exchange Out message). </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" rowspa n="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>3000</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>encoding</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 textlin e 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> value must be one of the following: +<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>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You must use the <tt>#</tt> notation to look up your codec in the <a shape="rect" href="registry.html" title="Registry"> Registry</a>. For example, use <tt>#myCodec</tt> to look up a bean with the <tt>id</tt> value, <tt>myCodec</tt>. </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"> <b>Camel 2.3:</b> 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" cla ss="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 colspan="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>3000</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>encoding</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/charse t/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> value must be one of the following: <ul><li><b>Camel 2.2:</b> comma-separated list of bean references (e.g. <tt>#filterBean1,#filterBean2</tt>) where each bean must be of type <tt>org.apache.mina.common.IoFilter</tt>.</li><li><b>before Camel 2.2:</b> a reference to a bean of type <tt>List<org.apache.mina.common.IoFilter></tt>.</li></ul> </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"> As of 2.1, you can 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"> As of 2.1, you can 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>producerPoolSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 16 </td><td colspan="1" rowspan="1" class="confluenceTd"> The TCP producer is thread safe 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"> <b>Camel >2.3:</b> 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"> <b>Camel 2.3:</b> 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></tbody></table> </div>