camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r822956 [2/2] - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html book-pattern-appendix.html cache/main.pageCache camel-2100-release.html file2.html polling-consumer.html
Date Sun, 24 Jun 2012 13:21:30 GMT
Modified: websites/production/camel/content/camel-2100-release.html
==============================================================================
--- websites/production/camel/content/camel-2100-release.html (original)
+++ websites/production/camel/content/camel-2100-release.html Sun Jun 24 13:21:29 2012
@@ -84,12 +84,12 @@
 
 <p>Welcome to the 2.10.0 release with approximately XXX issues resolved - including new features, improvements, and bug fixes, such as: </p>
 
-<ul><li>Added support for Java 1.7</li><li>Added consumer to <a shape="rect" href="jcr.html" title="JCR">JCR</a> component</li><li>Internal code cleanup to reduce warnings reported by Eclipse</li><li>Moved <a shape="rect" href="spring-testing.html" title="Spring Testing">Spring Testing</a> from <tt>camel-test</tt> to <tt>camel-test-spring</tt> component.</li><li>Camel <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Property Placeholders</a> are now supported in embedded <a shape="rect" href="expression.html" title="Expression">Expression</a>s within Camel routes.</li><li>Added missing options in the XML DSL for the <a shape="rect" href="xpath.html" title="XPath">XPath</a> language to control and set which XPath Engine to use, etc.</li><li>Added option <tt>logNamespaces</tt> to the <a shape="rect" href="xpath.html" title="XPath">XPath</a> language to have <tt>INFO</tt> logging of detected namespaces from message.  This can be used to tr
 oubleshoot issues where an <a shape="rect" href="xpath.html" title="XPath">XPath</a> expression doesn't work as expected (as it's often a namespace conflict).</li><li>Added <tt>replyToCacheLevelName</tt> option to the <a shape="rect" href="jms.html" title="JMS">JMS</a> component, allowing configuration of cache levels for persistent reply consumers when doing request/reply over JMS. Some message brokers do not work well with caching, so users may need to set this option to <tt>CACHE_NONE</tt>.</li><li>Added <tt>antInclude</tt> and <tt>antExclude</tt> options to <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components to make it easier to specify include/exclude filters using ANT syntax.</li><li>The <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel archetypes</a> for Java and Scala no longer generate projects with Spring dependencies.</li><li>Improved <tt>JdbcMessageIdRe
 pository</tt> in the <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a> to use custom SQL statements/queries.</li><li>Added option to <a shape="rect" href="properties.html" title="Properties">Properties</a> to allow silently ignoring property locations not found, such as a .properties file.</li><li>Added <tt>managementNamePattern</tt> attribute to <tt>&lt;camelContext&gt;</tt> to make it very easy to customize and control the JMX naming of the Camel application. See details at <a shape="rect" href="camel-jmx.html#CamelJMX-CamelJMXManagementNamingStrategy">Camel JMX</a>. For example, in OSGi environments you can explicitly configure a <tt>managementNamePattern</tt> in case you do not want the bundleId as part of MBean names.</li><li>Added streaming update support to <a shape="rect" href="solr.html" title="Solr">Solr</a> as well as support for SolrInputDocuments</li><li>Added SolrJ DirectXMLRequest support to <a shape="rect" href="solr.html" title="Solr">S
 olr</a> to support XML based index updates</li><li>Improved Camel <a shape="rect" href="mail.html" title="Mail">Mail</a> to support the <tt>replyTo</tt> option</li><li>Added <tt>traceEnabled</tt> option to <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> component so you have control over whether to allow HTTP TRACE calls against your Jetty endpoints.</li><li>Polished the <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> to let the projects be prepared for <a shape="rect" href="testing.html" title="Testing">Testing</a>, and fixed any WARNs from Maven.</li><li>Added <tt>dumpRouteStatsAsXml</tt> methods to <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> to make it easier to get the total performance stats as XML, and in one JMX call.</li><li><a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> is now more aggressive if timeout occurred during shutdown, r
 ejecting continued processing of messages or redeliveries.</li><li>Add <tt>ShutdownPrepared</tt> SPI to allow custom Services (also EIPs) in routes to do custom code in preparation for shutdown.</li><li>The <tt>camel-archetype-java</tt> <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> is now a pure Java DSL based project (no longer Spring)</li><li><a shape="rect" href="jms.html" title="JMS">JMS</a> consumer is less verbose when logging uncaught exceptions thrown while processing a message. Added <tt>errorHandlerLoggingLevel</tt>, and <tt>errorHandlerLogStackTrace</tt> options to tweak the logging verbosity.</li><li>Added <tt>messageId</tt> as an <a shape="rect" href="mdc-logging.html" title="MDC logging">MDC logging</a> key.</li><li>Improved Camel's Transaction <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> logging to better pinpoint and correlate redelivered messages (from, e.g., 
 a JMS broker), making the logs much easier to read.</li><li>Added a timeout option to <a shape="rect" href="spring-web-services.html" title="Spring Web Services">Spring Web Services</a> for specifying the read timeout while invoking a webservice.</li><li>Optimized <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> registry for possible concurrency contention when looking up a type converter.</li><li>Improved <a shape="rect" href="simple.html" title="Simple">Simple</a> language to work better with floating point numbers in <a shape="rect" href="predicate.html" title="Predicate">Predicate</a>s</li><li>Camel is now less verbose when starting and stopping, with less being logged at <tt>INFO</tt> level.</li><li>Add support for keyed data queues to <a shape="rect" href="jt400.html" title="JT400">JT400</a> component.</li><li><a shape="rect" href="idempotent-consumer.html" title="Idempotent Consumer">Idempotent Consumer</a> is now enlisted in JMX, w
 hich allows monitoring the duplicate message count as well as the operation to reset it.</li><li>Thread pools registered in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> are now unregistered when Camel shuts them down. Note that all MBeans will be unregistered from JMX when Camel shuts itself down. This improvement is to unregister thread pools more eagerly, such as when routes are removed at runtime.</li><li>Camel will now also copy the message headers for a <tt>JmsMessage</tt> if you leverage <tt>useOriginalMessage</tt> in an <tt>onException</tt> definition.</li><li>Added <tt>mockEndpointsAndSkip</tt> to <a shape="rect" href="advicewith.html" title="AdviceWith">AdviceWith</a> and the <a shape="rect" href="testing.html" title="Testing">Test Kit</a></li><li>The <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components now support filtering directories. The <tt>isDirectory</tt> method on the
  <tt>GenericFile</tt> class can be used to skip unwanted directories, accelerating file consumption.</li><li><a shape="rect" href="smpp.html" title="SMPP">SMPP</a> connections can now be tunneled through an HTTP proxy by configuring HTTP proxy settings.</li><li>Camel now also checks, when starting a route dynamically, whether there would be any violations on multiple consumers from the same <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>. Previously this check only occurred during Camel startup - now it always happens.</li><li>Stopping a <tt>ConsumerTemplate</tt> or a <tt>ProducerTemplate</tt> will now stop and shutdown its cache to cleanup any resources which otherwise may not have been reclaimed until shutdown.</li><li><a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/impl/ScheduledPollConsumer.html">ScheduledPollConsumer</a> will now shutdown thread pools more eagerly, such as when stop
 ping a <tt>ConsumerTemplate</tt>.</li><li>Added option <tt>asyncStartListener</tt> to <a shape="rect" href="jms.html" title="JMS">JMS</a> to allow starting JMS consumers (e.g. routes) asynchronously. This can be used to avoid blocking in case the JMS consumer takes long time to establish a connection to the JMS broker.</li><li><a shape="rect" href="wire-tap.html" title="Wire Tap">Wire Tap</a> now supports <a shape="rect" href="error-handling-in-camel.html" title="Error handling in Camel">Error Handling</a> when sending a tapped message to an <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>.</li><li>Added the autogenColumns, configRef and strategyRef options to the <a shape="rect" href="csv.html" title="CSV">CSV</a> dataformat in XML DSL whereas the new skipFirstLine option is provided in Java API as well.</li><li><a shape="rect" href="validation.html" title="Validation">Validator</a> component will now fail with a better error message if resource schema ref
 ers to element which cannot be resolved.</li><li>Added support for retrieving generated keys from <a shape="rect" href="jdbc.html" title="JDBC">JDBC</a> component.</li><li>Added support for Spring 3.1.x.</li><li>Added <tt>retainFirst</tt>, and <tt>retainLast</tt> options to <a shape="rect" href="mock.html" title="Mock">Mock</a> component.</li><li>Improved <a shape="rect" href="simple.html" title="Simple">Simple</a> language to allow referring to headers using bracket notation.</li><li>Added support for the scp: protocol via <a shape="rect" href="jsch.html" title="Jsch">Jsch</a>.</li><li>Added support to exclude certain fields when marshalling POJO's to <a shape="rect" href="json.html" title="JSON">JSON</a>. Available with both the Jackson and GSON library.</li><li>Allow to configure frequency of timeout checker when doing request/reply over <a shape="rect" href="jms.html" title="JMS">JMS</a></li><li>Improved the Java DSL to make it easier to use predicates from the build-in 
 DSL, that has commonly used predicates and expressions.</li><li><a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregate</a> EIP now supports <tt>TimeoutAwareAggregationStrategy</tt> aggregation strategies.</li><li>The default <tt>Injector</tt> now performs bean post processing to inject @Produce, @Consume, @EndpointInject fields etc.</li><li>The <a shape="rect" href="camel-run-maven-goal.html" title="Camel Run Maven Goal">camel-run</a> maven plugin now supports running <a shape="rect" href="using-osgi-blueprint-with-camel.html" title="Using OSGi blueprint with Camel">OSGi Blueprint applications</a>.</li><li>Added utilization statistics to the type converter registry (which can be accessed from <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a>), and are logged as Camel is shutting down.</li><li>Improved <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> to work better with servers such as WebSphere which alters MBean names when enlisti
 ng mbeans into the server (Camel now have an internal mapping table).</li><li>All <a shape="rect" href="eip.html" title="EIP">EIP</a>s out of the box from Camel now provides <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> utilization statistics.</li><li>The <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumers will now let <tt>org.apache.camel.spi.ExceptionHandler</tt> deal with exceptions occurred during acquiring real lock as well. See <a shape="rect" href="file2.html" title="File2">File</a> page for example of using a custom <tt>ExceptionHandler</tt>.</li><li>Reduce the logging level from ERROR to WARN on the default <tt>LoggingExceptionHandler</tt>.</li><li>Added option <tt>consumer.bridgeErrorHandler</tt> to allow consumers such as <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> to use the routing engine <a shape="rect
 " href="error-handler.html" title="Error Handler">Error Handler</a> to deal with exceptions occurring in the consumer (outside the routing engine), for example if having trouble picking up a file from a shared network drive etc. See more details at <a shape="rect" href="file2.html" title="File2">File</a> page. This option applies to all consumers which extends the <tt>DefaultConsumer</tt> from <tt>camel-core</tt>.</li><li>Added <tt>eagerMaxMessagesPerPoll</tt> option to <a shape="rect" href="file2.html" title="File2">File</a>, and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> endpoints to allow to do a full sorting of the files and also limit the pool at the same time</li><li>The <a shape="rect" href="xslt.html" title="XSLT">XSLT</a>, <a shape="rect" href="velocity.html" title="Velocity">Velocity</a>, <a shape="rect" href="freemarker.html" title="FreeMarker">FreeMarker</a>, and <a shape="rect" href="stringtemplate.html" title="StringTemplate">StringTemplate</a> compo
 nents using http resource for the template now supports query parameters</li><li>You can specify the class type with <a shape="rect" href="bindy.html" title="Bindy">Bindy</a> to make it stand out what type is being used, as well the <tt>unmarshal</tt> operation returns a list of the pojos (and the pojo directly if only 1). Which makes it easier to use/work with.</li><li>Added <tt>group</tt> option to <a shape="rect" href="tokenizer.html" title="Tokenizer">Tokenizer</a> to make it easier with the <a shape="rect" href="splitter.html" title="Splitter">Splitter</a> to split by combining N number of parts together, eg splitting files in chunks by N lines combined.</li><li>Camel is now compatible to the upcoming Karaf 3 release</li><li>Added <tt>ExchangeSendingEvent</tt> to <tt>EventNotifier</tt> to emit an event <b>before</b> sending an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> to an <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>. Then
  we have events for both before and after.</li><li>Relaxed syntax check in <a shape="rect" href="simple.html" title="Simple">Simple</a> language to only scan for functions if a start token was explicit configured. This allows to easier do json like expressions.</li><li>Added support for escaping values in <a shape="rect" href="simple.html" title="Simple">Simple</a> language using the \ character.</li><li>Added new <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> for creating new <a shape="rect" href="component.html" title="Component">Component</a> using Scala.</li><li>Added <tt>trim</tt> option to <a shape="rect" href="languages.html" title="Languages">Languages</a> in the XML DSL, to control trimming the expression values, to remove the whitespace noise from XML tags.</li><li>Improved the <a shape="rect" href="file2.html" title="File2">File</a> consumer to support competing consumers on a shared drive to not pickup
  files from other consumers, as marker file is always used, for <tt>readLock</tt> strategies such as changed, rename and fileLock. For example if you have a clustered environment and have multiple Camel applications pickup files from a shared drive with <tt>readLock=changed</tt>.</li><li>The <a shape="rect" href="file2.html" title="File2">File</a> consumer with <tt>readLock=changed</tt> will now consider zero length file as in progress files.</li><li>Made it easier to <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">bridge Spring and Camel property placeholders</a>, by configuring only once, using a new <tt>BridgePropertyPlaceholderConfigurer</tt> bean type.</li><li>Improved the <a shape="rect" href="smpp.html" title="SMPP">SMPP</a> component to refer to a <tt>org.jsmpp.session.SessionStateListener</tt> to receive callbacks when the session state changed.</li><li>Added connection pooling to <a shape="rect" href="jt400.html" title="JT400
 ">JT400</a> component</li><li><a shape="rect" href="restlet.html" title="Restlet">Restlet</a> component can be configured with Restlet Server parameters, for example to configure thread pool sizes.</li><li>CamelContext MBean in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> now shows aggregated performance stats for all the routes</li><li>Made it easy to override properties when <a shape="rect" href="testing.html" title="Testing">Testing</a> with Camel when <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Using PropertyPlaceholder</a>. For example unit testing with OSGi Blueprint using config admin service to provide properties, is now easy as you can provide the properties from directly within the unit test source code itself.</li><li>Improved <a shape="rect" href="netty.html" title="Netty">Netty</a> to support both shareable and non-shareable encoders and decoders.</li><li>Improved <a shape="rect" href="netty.html" ti
 tle="Netty">Netty</a> to support proxy use cases (eg <tt>from(netty).to(netty)</tt>)</li><li>Added <tt>CompletionAwareAggregationStrategy</tt> to <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregator</a> EIP as callback when the aggregated exchange is completed.</li></ul>
+<ul><li>Added support for Java 1.7</li><li>Added consumer to <a shape="rect" href="jcr.html" title="JCR">JCR</a> component</li><li>Internal code cleanup to reduce warnings reported by Eclipse</li><li>Moved <a shape="rect" href="spring-testing.html" title="Spring Testing">Spring Testing</a> from <tt>camel-test</tt> to <tt>camel-test-spring</tt> component.</li><li>Camel <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Property Placeholders</a> are now supported in embedded <a shape="rect" href="expression.html" title="Expression">Expression</a>s within Camel routes.</li><li>Added missing options in the XML DSL for the <a shape="rect" href="xpath.html" title="XPath">XPath</a> language to control and set which XPath Engine to use, etc.</li><li>Added option <tt>logNamespaces</tt> to the <a shape="rect" href="xpath.html" title="XPath">XPath</a> language to have <tt>INFO</tt> logging of detected namespaces from message.  This can be used to tr
 oubleshoot issues where an <a shape="rect" href="xpath.html" title="XPath">XPath</a> expression doesn't work as expected (as it's often a namespace conflict).</li><li>Added <tt>replyToCacheLevelName</tt> option to the <a shape="rect" href="jms.html" title="JMS">JMS</a> component, allowing configuration of cache levels for persistent reply consumers when doing request/reply over JMS. Some message brokers do not work well with caching, so users may need to set this option to <tt>CACHE_NONE</tt>.</li><li>Added <tt>antInclude</tt> and <tt>antExclude</tt> options to <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components to make it easier to specify include/exclude filters using ANT syntax.</li><li>The <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel archetypes</a> for Java and Scala no longer generate projects with Spring dependencies.</li><li>Improved <tt>JdbcMessageIdRe
 pository</tt> in the <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a> to use custom SQL statements/queries.</li><li>Added option to <a shape="rect" href="properties.html" title="Properties">Properties</a> to allow silently ignoring property locations not found, such as a .properties file.</li><li>Added <tt>managementNamePattern</tt> attribute to <tt>&lt;camelContext&gt;</tt> to make it very easy to customize and control the JMX naming of the Camel application. See details at <a shape="rect" href="camel-jmx.html#CamelJMX-CamelJMXManagementNamingStrategy">Camel JMX</a>. For example, in OSGi environments you can explicitly configure a <tt>managementNamePattern</tt> in case you do not want the bundleId as part of MBean names.</li><li>Added streaming update support to <a shape="rect" href="solr.html" title="Solr">Solr</a> as well as support for SolrInputDocuments</li><li>Added SolrJ DirectXMLRequest support to <a shape="rect" href="solr.html" title="Solr">S
 olr</a> to support XML based index updates</li><li>Improved Camel <a shape="rect" href="mail.html" title="Mail">Mail</a> to support the <tt>replyTo</tt> option</li><li>Added <tt>traceEnabled</tt> option to <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> component so you have control over whether to allow HTTP TRACE calls against your Jetty endpoints.</li><li>Polished the <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> to let the projects be prepared for <a shape="rect" href="testing.html" title="Testing">Testing</a>, and fixed any WARNs from Maven.</li><li>Added <tt>dumpRouteStatsAsXml</tt> methods to <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> to make it easier to get the total performance stats as XML, and in one JMX call.</li><li><a shape="rect" href="graceful-shutdown.html" title="Graceful Shutdown">Graceful Shutdown</a> is now more aggressive if timeout occurred during shutdown, r
 ejecting continued processing of messages or redeliveries.</li><li>Add <tt>ShutdownPrepared</tt> SPI to allow custom Services (also EIPs) in routes to do custom code in preparation for shutdown.</li><li>The <tt>camel-archetype-java</tt> <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> is now a pure Java DSL based project (no longer Spring)</li><li><a shape="rect" href="jms.html" title="JMS">JMS</a> consumer is less verbose when logging uncaught exceptions thrown while processing a message. Added <tt>errorHandlerLoggingLevel</tt>, and <tt>errorHandlerLogStackTrace</tt> options to tweak the logging verbosity.</li><li>Added <tt>messageId</tt> as an <a shape="rect" href="mdc-logging.html" title="MDC logging">MDC logging</a> key.</li><li>Improved Camel's Transaction <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> logging to better pinpoint and correlate redelivered messages (from, e.g., 
 a JMS broker), making the logs much easier to read.</li><li>Added a timeout option to <a shape="rect" href="spring-web-services.html" title="Spring Web Services">Spring Web Services</a> for specifying the read timeout while invoking a webservice.</li><li>Optimized <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> registry for possible concurrency contention when looking up a type converter.</li><li>Improved <a shape="rect" href="simple.html" title="Simple">Simple</a> language to work better with floating point numbers in <a shape="rect" href="predicate.html" title="Predicate">Predicate</a>s</li><li>Camel is now less verbose when starting and stopping, with less being logged at <tt>INFO</tt> level.</li><li>Add support for keyed data queues to <a shape="rect" href="jt400.html" title="JT400">JT400</a> component.</li><li><a shape="rect" href="idempotent-consumer.html" title="Idempotent Consumer">Idempotent Consumer</a> is now enlisted in JMX, w
 hich allows monitoring the duplicate message count as well as the operation to reset it.</li><li>Thread pools registered in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> are now unregistered when Camel shuts them down. Note that all MBeans will be unregistered from JMX when Camel shuts itself down. This improvement is to unregister thread pools more eagerly, such as when routes are removed at runtime.</li><li>Camel will now also copy the message headers for a <tt>JmsMessage</tt> if you leverage <tt>useOriginalMessage</tt> in an <tt>onException</tt> definition.</li><li>Added <tt>mockEndpointsAndSkip</tt> to <a shape="rect" href="advicewith.html" title="AdviceWith">AdviceWith</a> and the <a shape="rect" href="testing.html" title="Testing">Test Kit</a></li><li>The <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components now support filtering directories. The <tt>isDirectory</tt> method on the
  <tt>GenericFile</tt> class can be used to skip unwanted directories, accelerating file consumption.</li><li><a shape="rect" href="smpp.html" title="SMPP">SMPP</a> connections can now be tunneled through an HTTP proxy by configuring HTTP proxy settings.</li><li>Camel now also checks, when starting a route dynamically, whether there would be any violations on multiple consumers from the same <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>. Previously this check only occurred during Camel startup - now it always happens.</li><li>Stopping a <tt>ConsumerTemplate</tt> or a <tt>ProducerTemplate</tt> will now stop and shutdown its cache to cleanup any resources which otherwise may not have been reclaimed until shutdown.</li><li><a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/impl/ScheduledPollConsumer.html">ScheduledPollConsumer</a> will now shutdown thread pools more eagerly, such as when stop
 ping a <tt>ConsumerTemplate</tt>.</li><li>Added option <tt>asyncStartListener</tt> to <a shape="rect" href="jms.html" title="JMS">JMS</a> to allow starting JMS consumers (e.g. routes) asynchronously. This can be used to avoid blocking in case the JMS consumer takes long time to establish a connection to the JMS broker.</li><li><a shape="rect" href="wire-tap.html" title="Wire Tap">Wire Tap</a> now supports <a shape="rect" href="error-handling-in-camel.html" title="Error handling in Camel">Error Handling</a> when sending a tapped message to an <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>.</li><li>Added the autogenColumns, configRef and strategyRef options to the <a shape="rect" href="csv.html" title="CSV">CSV</a> dataformat in XML DSL whereas the new skipFirstLine option is provided in Java API as well.</li><li><a shape="rect" href="validation.html" title="Validation">Validator</a> component will now fail with a better error message if resource schema ref
 ers to element which cannot be resolved.</li><li>Added support for retrieving generated keys from <a shape="rect" href="jdbc.html" title="JDBC">JDBC</a> component.</li><li>Added support for Spring 3.1.x.</li><li>Added <tt>retainFirst</tt>, and <tt>retainLast</tt> options to <a shape="rect" href="mock.html" title="Mock">Mock</a> component.</li><li>Improved <a shape="rect" href="simple.html" title="Simple">Simple</a> language to allow referring to headers using bracket notation.</li><li>Added support for the scp: protocol via <a shape="rect" href="jsch.html" title="Jsch">Jsch</a>.</li><li>Added support to exclude certain fields when marshalling POJO's to <a shape="rect" href="json.html" title="JSON">JSON</a>. Available with both the Jackson and GSON library.</li><li>Allow to configure frequency of timeout checker when doing request/reply over <a shape="rect" href="jms.html" title="JMS">JMS</a></li><li>Improved the Java DSL to make it easier to use predicates from the build-in 
 DSL, that has commonly used predicates and expressions.</li><li><a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregate</a> EIP now supports <tt>TimeoutAwareAggregationStrategy</tt> aggregation strategies.</li><li>The default <tt>Injector</tt> now performs bean post processing to inject @Produce, @Consume, @EndpointInject fields etc.</li><li>The <a shape="rect" href="camel-run-maven-goal.html" title="Camel Run Maven Goal">camel-run</a> maven plugin now supports running <a shape="rect" href="using-osgi-blueprint-with-camel.html" title="Using OSGi blueprint with Camel">OSGi Blueprint applications</a>.</li><li>Added utilization statistics to the type converter registry (which can be accessed from <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a>), and are logged as Camel is shutting down.</li><li>Improved <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> to work better with servers such as WebSphere which alters MBean names when enlisti
 ng mbeans into the server (Camel now have an internal mapping table).</li><li>All <a shape="rect" href="eip.html" title="EIP">EIP</a>s out of the box from Camel now provides <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> utilization statistics.</li><li>The <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumers will now let <tt>org.apache.camel.spi.ExceptionHandler</tt> deal with exceptions occurred during acquiring real lock as well. See <a shape="rect" href="file2.html" title="File2">File</a> page for example of using a custom <tt>ExceptionHandler</tt>.</li><li>Reduce the logging level from ERROR to WARN on the default <tt>LoggingExceptionHandler</tt>.</li><li>Added option <tt>consumer.bridgeErrorHandler</tt> to allow consumers such as <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> to use the routing engine <a shape="rect
 " href="error-handler.html" title="Error Handler">Error Handler</a> to deal with exceptions occurring in the consumer (outside the routing engine), for example if having trouble picking up a file from a shared network drive etc. See more details at <a shape="rect" href="file2.html" title="File2">File</a> page. This option applies to all consumers which extends the <tt>DefaultConsumer</tt> from <tt>camel-core</tt>.</li><li>Added <tt>eagerMaxMessagesPerPoll</tt> option to <a shape="rect" href="file2.html" title="File2">File</a>, and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> endpoints to allow to do a full sorting of the files and also limit the pool at the same time</li><li>The <a shape="rect" href="xslt.html" title="XSLT">XSLT</a>, <a shape="rect" href="velocity.html" title="Velocity">Velocity</a>, <a shape="rect" href="freemarker.html" title="FreeMarker">FreeMarker</a>, and <a shape="rect" href="stringtemplate.html" title="StringTemplate">StringTemplate</a> compo
 nents using http resource for the template now supports query parameters</li><li>You can specify the class type with <a shape="rect" href="bindy.html" title="Bindy">Bindy</a> to make it stand out what type is being used, as well the <tt>unmarshal</tt> operation returns a list of the pojos (and the pojo directly if only 1). Which makes it easier to use/work with.</li><li>Added <tt>group</tt> option to <a shape="rect" href="tokenizer.html" title="Tokenizer">Tokenizer</a> to make it easier with the <a shape="rect" href="splitter.html" title="Splitter">Splitter</a> to split by combining N number of parts together, eg splitting files in chunks by N lines combined.</li><li>Camel is now compatible to the upcoming Karaf 3 release</li><li>Added <tt>ExchangeSendingEvent</tt> to <tt>EventNotifier</tt> to emit an event <b>before</b> sending an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> to an <a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a>. Then
  we have events for both before and after.</li><li>Relaxed syntax check in <a shape="rect" href="simple.html" title="Simple">Simple</a> language to only scan for functions if a start token was explicit configured. This allows to easier do json like expressions.</li><li>Added support for escaping values in <a shape="rect" href="simple.html" title="Simple">Simple</a> language using the \ character.</li><li>Added new <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a> for creating new <a shape="rect" href="component.html" title="Component">Component</a> using Scala.</li><li>Added <tt>trim</tt> option to <a shape="rect" href="languages.html" title="Languages">Languages</a> in the XML DSL, to control trimming the expression values, to remove the whitespace noise from XML tags.</li><li>Improved the <a shape="rect" href="file2.html" title="File2">File</a> consumer to support competing consumers on a shared drive to not pickup
  files from other consumers, as marker file is always used, for <tt>readLock</tt> strategies such as changed, rename and fileLock. For example if you have a clustered environment and have multiple Camel applications pickup files from a shared drive with <tt>readLock=changed</tt>.</li><li>The <a shape="rect" href="file2.html" title="File2">File</a> consumer with <tt>readLock=changed</tt> will now consider zero length file as in progress files.</li><li>Made it easier to <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">bridge Spring and Camel property placeholders</a>, by configuring only once, using a new <tt>BridgePropertyPlaceholderConfigurer</tt> bean type.</li><li>Improved the <a shape="rect" href="smpp.html" title="SMPP">SMPP</a> component to refer to a <tt>org.jsmpp.session.SessionStateListener</tt> to receive callbacks when the session state changed.</li><li>Added connection pooling to <a shape="rect" href="jt400.html" title="JT400
 ">JT400</a> component</li><li><a shape="rect" href="restlet.html" title="Restlet">Restlet</a> component can be configured with Restlet Server parameters, for example to configure thread pool sizes.</li><li>CamelContext MBean in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> now shows aggregated performance stats for all the routes</li><li>Made it easy to override properties when <a shape="rect" href="testing.html" title="Testing">Testing</a> with Camel when <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Using PropertyPlaceholder</a>. For example unit testing with OSGi Blueprint using config admin service to provide properties, is now easy as you can provide the properties from directly within the unit test source code itself.</li><li>Improved <a shape="rect" href="netty.html" title="Netty">Netty</a> to support both shareable and non-shareable encoders and decoders.</li><li>Improved <a shape="rect" href="netty.html" ti
 tle="Netty">Netty</a> to support proxy use cases (eg <tt>from(netty).to(netty)</tt>)</li><li>Added <tt>CompletionAwareAggregationStrategy</tt> to <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregator</a> EIP as callback when the aggregated exchange is completed.</li><li>Scheduled <a shape="rect" href="polling-consumer.html" title="Polling Consumer">Polling Consumer</a> and poll based <a shape="rect" href="component.html" title="Component">Component</a>s such as <a shape="rect" href="file2.html" title="File2">File</a>, and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> can now use a custom/shared thread pool for its consumer(s). For example having many file routes, can now share a thread pool, and reduce number of overall threads in the JVM.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.10.0Release-Fixedissues"></a>Fixed issues</h3>
 
-<ul><li>Fixed memory leak when dynamically adding and removing many routes at runtime. See this <a shape="rect" href="memory-leak-when-adding-and-removing-routes-at-runtime.html" title="Memory leak when adding and removing routes at runtime">FAQ</a> for more information.</li><li>Fixed potential NPE in <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer when using double slashes as starting directory.</li><li>Fixed <a shape="rect" href="intercept.html#Intercept-InterceptSendToEndpoint">InterceptSendToEndpoint</a> when using <tt>skipSendToEndpoint=true</tt> with a <a shape="rect" href="predicate.html" title="Predicate">when</a> predicate to only skip sending if the predicate was true.</li><li>Fixed an issue with <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> directly in a method name not working properly with method call expressions.</li><li>Fixed issue with using custom namespaces in <a shape="rect" href="xpath.html" title="XPath">XP
 ath</a> expressions when using <a shape="rect" href="using-osgi-blueprint-with-camel.html" title="Using OSGi blueprint with Camel">OSGi Blueprint</a></li><li>Fixed <a shape="rect" href="validation.html" title="Validation">Validation</a> to support <tt>xs:import</tt> in the schema files.</li><li>Fixed <a shape="rect" href="content-enricher.html" title="Content Enricher">Poll Enrich</a> where the timeout was not explicitly configured to use blocking mode (was wrongly using non-blocking mode).</li><li>Fixed <a shape="rect" href="async.html" title="Async">Threads EIP</a> to handle rejected policies, ensuring the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> will finish the <tt>UnitOfWork</tt> and will be de-registered from the inflight registry.</li><li>Fixed <a shape="rect" href="delayer.html" title="Delayer">Delayer</a> not working with a <a shape="rect" href="bean.html" title="Bean">Bean</a> expression to define the delay when using XML DSL</li><li>Fixed 
 <a shape="rect" href="jms.html" title="JMS">JMS</a> consumer to no longer complain by default if no errorHandler is configured when an uncaught exception was thrown while processing a message.</li><li>Fixed the String trim issue in <a shape="rect" href="simple.html" title="Simple">Simple</a> expressions.</li><li>Fixed the issue with <a shape="rect" href="recipient-list.html" title="Recipient List">Recipient List</a> not triggering <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> for endpoints with non existing <a shape="rect" href="component.html" title="Component">Component</a>s.</li><li>Fixed <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to update statistics in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed <a shape="rect" href="seda.html" title="SEDA">SEDA</a> producer configured with <tt>waitForTaskToComplete=Always</tt> to not hand over on-completion tasks, which otherwis
 e could be processed prematurely.</li><li>Fixed a potential issue with configuring custom start and end tokens for the <a shape="rect" href="simple.html" title="Simple">Simple</a> language when using Spring XML.</li><li>Fixed an issue with <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> where NaN values were converted to integers.</li><li>Fixed <a shape="rect" href="http.html" title="HTTP">HTTP</a>, <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a>, and <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> producers to send empty HTTP headers for <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> headers with an empty value.</li><li>Fixed an issue with configuring a custom thread pool profile on some <a shape="rect" href="eip.html" title="EIP">EIP</a>s.</li><li>Fixed an issue with <a shape="rect" href="intercept.html" title="Intercept">Intercept</a> causing processors to not update their performance statistics 
 in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed using &lt;errorHandler&gt; with embedded &lt;redeliveryPolicy&gt; to support <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Using PropertyPlaceholder</a></li><li>Fixed issue with using &lt;redeliveryPolicy&gt;, and &lt;redeliveryPolicyProfile&gt; with OSGi Blueprint.</li><li>Fixed failover <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to perform defensive copy of the message before attempting failover, to ensure previous attempts do not propagate back into succeeding attempts.</li><li>Fixed issue when restarting application using <a shape="rect" href="quartz.html" title="Quartz">Quartz</a> with a persistent (non clustered) job store, where the app was not shutdown cleanly (such as crashed)</li><li>Fixed issue when using consumer endpoints with <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPl
 aceholder">Property placeholders</a> not working with <a shape="rect" href="intercept.html" title="Intercept">inteceptors</a> such as <tt>interceptFrom</tt>.</li><li>Fixed issue with suspend/resume a <a shape="rect" href="timer.html" title="Timer">Timer</a> consumer, not causing timer task to stop firing.</li><li>Fixed <a shape="rect" href="netty.html" title="Netty">Netty</a> producer to re-use existing connections when sending. This avoid re-creating a new connection for every message being sent.</li><li>Fixed issue with <a shape="rect" href="simple.html" title="Simple">Simple</a> invoking overloaded methods using OGNL notation, where method name was explicitly declared to invoke the no-parameter method</li><li>Fixed continued and handled <a shape="rect" href="predicate.html" title="Predicate">Predicates</a> of <a shape="rect" href="exception-clause.html" title="Exception Clause">OnException</a> to be evaluated once per exception, instead of twice.</li><li>Fixed <a shape="r
 ect" href="throttler.html" title="Throttler">Throttler</a> and <a shape="rect" href="delayer.html" title="Delayer">Delayer</a> EIPs when evaluating of max/delay expression fails at runtime, not causing error handling to react.</li><li>Fixed <a shape="rect" href="mail.html" title="Mail">Mail</a> message with attachments may appear to be lost when <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> performs 2+ redelivery attempts.</li><li>Fixed issue with a failed type conversion using <a shape="rect" href="jaxb.html" title="JAXB">JAXB</a> may cause subsequent attempts to be regarded as failed as well</li><li>Fixed method call <a shape="rect" href="expression.html" title="Expression">Expression</a> to preserve headers and <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> properties, which allow to use it for storing state with the <a shape="rect" href="dynamic-router.html" title="Dynamic Router">Dynamic Router</a> EIP</li><li>Fixe
 d locale issue with configuring endpoints using uris, such as Turkish with the lower/upper case of the letter i.</li><li>Fixed issue reading and writing files when a <tt>charset</tt> was configured on the file endpoint.</li><li>Fixed issue with <tt>convertBodyTo</tt> not working internally as <tt>transform</tt> and <tt>setBody</tt>, by resetting the message type to <tt>DefaultMessage</tt>.</li><li>Fixed issue with <a shape="rect" href="loop.html" title="Loop">Loop</a> using <tt>copy</tt> and an exception occurred</li><li>Fixed so <a shape="rect" href="file2.html" title="File2">File</a> consumer using done file name, will not automatic delete the done file if <tt>noop=true</tt> is configured.</li><li>Fixed issue with <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a> may send back incorrect content length for data with unicode characters outside the normal ASCII range.</li><li>Fixed <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> http producer (client) 
 may corrupt streams if used in a bridge mode (eg like a proxy)</li><li>Fixed <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> http consumer (server) may corrupt streams if chunked was disabled</li><li>Fixed issue with <tt>camel-blueprint</tt> and using <tt>CamelContextAware</tt> beans for <tt>EventNotifier</tt> (and the beans from this <a shape="rect" href="advanced-configuration-of-camelcontext-using-spring.html" title="Advanced configuration of CamelContext using Spring">list</a>) injecting the <tt>CamelContext</tt> which is not ready, causing the blueprint container to hang waiting for the service.</li><li>Fixed <a shape="rect" href="bindy.html" title="Bindy">Bindy</a> to not use default locale, but only use locale if explicit configured.</li><li>Fixed <a shape="rect" href="restlet.html" title="Restlet">Restlet</a> not propagating headers during routing.</li><li>Fixed running multiple Camel apps with same CamelContext name in a single JVM with <a shape="rect" hre
 f="quartz.html" title="Quartz">Quartz</a> component, causing jobs to pick wrong CamelContext.</li><li>Fixed URI normalization to support % sign itself, by specifying the % sign using its encoded value (eg %25).</li><li>Fixed <a shape="rect" href="jms.html" title="JMS">JMS</a> producer to trigger Camel error handling if destination resolution failed due to an exception.</li><li>Fixed <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> with async redelivery to use shared thread pool per CamelContext, instead of per JVM</li></ul>
+<ul><li>Fixed memory leak when dynamically adding and removing many routes at runtime. See this <a shape="rect" href="memory-leak-when-adding-and-removing-routes-at-runtime.html" title="Memory leak when adding and removing routes at runtime">FAQ</a> for more information.</li><li>Fixed potential NPE in <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer when using double slashes as starting directory.</li><li>Fixed <a shape="rect" href="intercept.html#Intercept-InterceptSendToEndpoint">InterceptSendToEndpoint</a> when using <tt>skipSendToEndpoint=true</tt> with a <a shape="rect" href="predicate.html" title="Predicate">when</a> predicate to only skip sending if the predicate was true.</li><li>Fixed an issue with <a shape="rect" href="bean-binding.html" title="Bean Binding">Bean Binding</a> directly in a method name not working properly with method call expressions.</li><li>Fixed issue with using custom namespaces in <a shape="rect" href="xpath.html" title="XPath">XP
 ath</a> expressions when using <a shape="rect" href="using-osgi-blueprint-with-camel.html" title="Using OSGi blueprint with Camel">OSGi Blueprint</a></li><li>Fixed <a shape="rect" href="validation.html" title="Validation">Validation</a> to support <tt>xs:import</tt> in the schema files.</li><li>Fixed <a shape="rect" href="content-enricher.html" title="Content Enricher">Poll Enrich</a> where the timeout was not explicitly configured to use blocking mode (was wrongly using non-blocking mode).</li><li>Fixed <a shape="rect" href="async.html" title="Async">Threads EIP</a> to handle rejected policies, ensuring the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> will finish the <tt>UnitOfWork</tt> and will be de-registered from the inflight registry.</li><li>Fixed <a shape="rect" href="delayer.html" title="Delayer">Delayer</a> not working with a <a shape="rect" href="bean.html" title="Bean">Bean</a> expression to define the delay when using XML DSL</li><li>Fixed 
 <a shape="rect" href="jms.html" title="JMS">JMS</a> consumer to no longer complain by default if no errorHandler is configured when an uncaught exception was thrown while processing a message.</li><li>Fixed the String trim issue in <a shape="rect" href="simple.html" title="Simple">Simple</a> expressions.</li><li>Fixed the issue with <a shape="rect" href="recipient-list.html" title="Recipient List">Recipient List</a> not triggering <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> for endpoints with non existing <a shape="rect" href="component.html" title="Component">Component</a>s.</li><li>Fixed <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to update statistics in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed <a shape="rect" href="seda.html" title="SEDA">SEDA</a> producer configured with <tt>waitForTaskToComplete=Always</tt> to not hand over on-completion tasks, which otherwis
 e could be processed prematurely.</li><li>Fixed a potential issue with configuring custom start and end tokens for the <a shape="rect" href="simple.html" title="Simple">Simple</a> language when using Spring XML.</li><li>Fixed an issue with <a shape="rect" href="type-converter.html" title="Type Converter">Type Converter</a> where NaN values were converted to integers.</li><li>Fixed <a shape="rect" href="http.html" title="HTTP">HTTP</a>, <a shape="rect" href="http4.html" title="HTTP4">HTTP4</a>, and <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> producers to send empty HTTP headers for <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> headers with an empty value.</li><li>Fixed an issue with configuring a custom thread pool profile on some <a shape="rect" href="eip.html" title="EIP">EIP</a>s.</li><li>Fixed an issue with <a shape="rect" href="intercept.html" title="Intercept">Intercept</a> causing processors to not update their performance statistics 
 in <a shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a></li><li>Fixed using &lt;errorHandler&gt; with embedded &lt;redeliveryPolicy&gt; to support <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPlaceholder">Using PropertyPlaceholder</a></li><li>Fixed issue with using &lt;redeliveryPolicy&gt;, and &lt;redeliveryPolicyProfile&gt; with OSGi Blueprint.</li><li>Fixed failover <a shape="rect" href="load-balancer.html" title="Load Balancer">Load Balancer</a> to perform defensive copy of the message before attempting failover, to ensure previous attempts do not propagate back into succeeding attempts.</li><li>Fixed issue when restarting application using <a shape="rect" href="quartz.html" title="Quartz">Quartz</a> with a persistent (non clustered) job store, where the app was not shutdown cleanly (such as crashed)</li><li>Fixed issue when using consumer endpoints with <a shape="rect" href="using-propertyplaceholder.html" title="Using PropertyPl
 aceholder">Property placeholders</a> not working with <a shape="rect" href="intercept.html" title="Intercept">inteceptors</a> such as <tt>interceptFrom</tt>.</li><li>Fixed issue with suspend/resume a <a shape="rect" href="timer.html" title="Timer">Timer</a> consumer, not causing timer task to stop firing.</li><li>Fixed <a shape="rect" href="netty.html" title="Netty">Netty</a> producer to re-use existing connections when sending. This avoid re-creating a new connection for every message being sent.</li><li>Fixed issue with <a shape="rect" href="simple.html" title="Simple">Simple</a> invoking overloaded methods using OGNL notation, where method name was explicitly declared to invoke the no-parameter method</li><li>Fixed continued and handled <a shape="rect" href="predicate.html" title="Predicate">Predicates</a> of <a shape="rect" href="exception-clause.html" title="Exception Clause">OnException</a> to be evaluated once per exception, instead of twice.</li><li>Fixed <a shape="r
 ect" href="throttler.html" title="Throttler">Throttler</a> and <a shape="rect" href="delayer.html" title="Delayer">Delayer</a> EIPs when evaluating of max/delay expression fails at runtime, not causing error handling to react.</li><li>Fixed <a shape="rect" href="mail.html" title="Mail">Mail</a> message with attachments may appear to be lost when <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> performs 2+ redelivery attempts.</li><li>Fixed issue with a failed type conversion using <a shape="rect" href="jaxb.html" title="JAXB">JAXB</a> may cause subsequent attempts to be regarded as failed as well</li><li>Fixed method call <a shape="rect" href="expression.html" title="Expression">Expression</a> to preserve headers and <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> properties, which allow to use it for storing state with the <a shape="rect" href="dynamic-router.html" title="Dynamic Router">Dynamic Router</a> EIP</li><li>Fixe
 d locale issue with configuring endpoints using uris, such as Turkish with the lower/upper case of the letter i.</li><li>Fixed issue reading and writing files when a <tt>charset</tt> was configured on the file endpoint.</li><li>Fixed issue with <tt>convertBodyTo</tt> not working internally as <tt>transform</tt> and <tt>setBody</tt>, by resetting the message type to <tt>DefaultMessage</tt>.</li><li>Fixed issue with <a shape="rect" href="loop.html" title="Loop">Loop</a> using <tt>copy</tt> and an exception occurred</li><li>Fixed so <a shape="rect" href="file2.html" title="File2">File</a> consumer using done file name, will not automatic delete the done file if <tt>noop=true</tt> is configured.</li><li>Fixed issue with <a shape="rect" href="servlet.html" title="SERVLET">SERVLET</a> may send back incorrect content length for data with unicode characters outside the normal ASCII range.</li><li>Fixed <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> http producer (client) 
 may corrupt streams if used in a bridge mode (eg like a proxy)</li><li>Fixed <a shape="rect" href="jetty.html" title="Jetty">Jetty</a> http consumer (server) may corrupt streams if chunked was disabled</li><li>Fixed issue with <tt>camel-blueprint</tt> and using <tt>CamelContextAware</tt> beans for <tt>EventNotifier</tt> (and the beans from this <a shape="rect" href="advanced-configuration-of-camelcontext-using-spring.html" title="Advanced configuration of CamelContext using Spring">list</a>) injecting the <tt>CamelContext</tt> which is not ready, causing the blueprint container to hang waiting for the service.</li><li>Fixed <a shape="rect" href="bindy.html" title="Bindy">Bindy</a> to not use default locale, but only use locale if explicit configured.</li><li>Fixed <a shape="rect" href="restlet.html" title="Restlet">Restlet</a> not propagating headers during routing.</li><li>Fixed running multiple Camel apps with same CamelContext name in a single JVM with <a shape="rect" hre
 f="quartz.html" title="Quartz">Quartz</a> component, causing jobs to pick wrong CamelContext.</li><li>Fixed URI normalization to support % sign itself, by specifying the % sign using its encoded value (eg %25).</li><li>Fixed <a shape="rect" href="jms.html" title="JMS">JMS</a> producer to trigger Camel error handling if destination resolution failed due to an exception.</li><li>Fixed <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a> with async redelivery to use shared thread pool per CamelContext, instead of per JVM</li><li>Fixed issue with added headers, using <tt>setHeader</tt> may be lost if a <a shape="rect" href="jms.html" title="JMS">JMS</a> route uses the <a shape="rect" href="dynamic-router.html" title="Dynamic Router">Dynamic Router</a> EIP</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.10.0Release-NewEnterpriseIntegrationPatterns"></a>New <a shape="rect" href="enterprise-integration-patterns.html" title="Enterprise Integration Patterns">Enterprise Integration Patterns</a></h3>

Modified: websites/production/camel/content/file2.html
==============================================================================
--- websites/production/camel/content/file2.html (original)
+++ websites/production/camel/content/file2.html Sun Jun 24 13:21:29 2012
@@ -123,7 +123,7 @@ This option provides the build in strate
 <br clear="none" class="atl-forced-newline"> <tt>rename</tt> is for using a try to rename the file as a test if we can get exclusive read-lock.
 <br clear="none" class="atl-forced-newline"> <tt>none</tt> is for no read locks at all.<br clear="none">
 Notice from <b>Camel 2.10</b> onwards the read locks <tt>changed</tt>, <tt>fileLock</tt> and <tt>rename</tt> will also use a <tt>markerFile</tt> as well, to ensure not picking up files that may be in process by another Camel consumer running on another node (eg cluster). This is only supported by the file component (not the ftp component). </td></tr><tr><td></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>readLockTimeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate" type="square"><li></li></ul>
-</td><td colspan="1" rowspan="1" class="confluenceTd"> Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. In <b>Camel 2.0</b> the default value is 0. In <b>Camel 2.1</b> the default value is 10000. Currently <tt>fileLock</tt>, <tt>changed</tt> and <tt>rename</tt> support the timeout. For <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> the default <tt>readLockTimeout</tt> value is 20000. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>readLockCheckInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Interval in millis for the read-lock, if supported by the read lock. This interval is used
  for sleeping between attempts to acquire the read lock. For example when using the <tt>changed</tt> read lock, you can set a higher interval period to cater for <em>slow writes</em>. The default of 1 sec. may be <em>too fast</em> if the producer is very slow writing the file. For <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> the default <tt>readLockCheckInterval</tt> is <tt>5000</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>directoryMustExist</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.5:</b> Similar to <tt>startingDirectoryMustExist</tt> but this applies during polling recursive sub directories. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>doneFileName</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> If provided, Camel will
  only consume files if a <em>done</em> file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The <em>done</em> file is <b>always</b> expected in the same folder as the original file. See <em>using done file</em> and <em>writing done file</em> sections for examples. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>exclusiveReadLockStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Pluggable read-lock as a <tt>org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy</tt> implementation. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxMessagesPerPoll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer to define a maximum messages to gather per poll. By default no maximum is set.
  Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Set a value of 0 or negative to disabled it. See more details at <a shape="rect" href="batch-consumer.html" title="Batch Consumer">Batch Consumer</a>. <b>Notice:</b> If this option is in use then the <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components will limit <b>before</b> any sorting. For example if you have 100000 files and use <tt>maxMessagesPerPoll=500</tt>, then only the first 500 files will be picked up, and then sorted. You can use the <tt>eagerMaxMessagesPerPoll</tt> option and set this to <tt>false</tt> to allow to scan all files first and then sort afterwards. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>eagerMaxMessagesPerPoll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <
 b>Camel 2.9.3:</b> Allows to control whether the limit from <tt>maxMessagesPerPoll</tt> is eager or not. If eager then the limit is during the scanning of files. Where as <tt>false</tt> would scan all files, and then perform sorting. Setting this option to <tt>false</tt> allows to sort all files first, and then limit the poll. Mind that this requires a higher memory usage as all file details are in memory to perform the sorting. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>minDepth</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 0 </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8</b>: The minimum depth to start processing when recursively processing a directory. Using <tt>minDepth=1</tt> means the base directory. Using <tt>minDepth=2</tt> means the first sub directory. This option is supported by <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer from <b>Camel 2.8.2, 2.9</b> onwards. </td></tr><tr><td colspan="
 1" rowspan="1" class="confluenceTd"> <tt>maxDepth</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer.MAX_VALUE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> The maximum depth to traverse when recursively processing a directory. This option is supported by <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer from <b>Camel 2.8.2, 2.9</b> onwards. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>processStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.component.file.GenericFileProcessStrategy</tt> allowing you to implement your own <tt>readLock</tt> option or similar. Can also be used when special conditions must be met before a file can be consumed, such as a special <em>ready</em> file exists. If this option is set then the <tt>readLock</tt> option does not apply. </td></tr><t
 r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>startingDirectoryMustExist</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.5:</b> Whether the starting directory must exist. Mind that the <tt>autoCreate</tt> option is default enabled, which means the starting directory is normally auto created if it doesn't exist. You can disable <tt>autoCreate</tt> and enable this to ensure the starting directory must exist. Will thrown an exception if the directory doesn't exist. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>pollStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> A pluggable <tt>org.apache.camel.PollingConsumerPollStrategy</tt> allowing you to provide your custom implementation to control error handling usually occurred during the <tt>poll</tt> operat
 ion <b>before</b> an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> have been created and being routed in Camel. In other words the error occurred while the polling was gathering information, for instance access to a file network failed so Camel cannot access it to scan for files. The default implementation will log the caused exception at <tt>WARN</tt> level and ignore it. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sendEmptyMessageWhenIdle</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consumer.bridgeErrorHandler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Cam
 el 2.10:</b> Allows to bridge the consumer to the Camel routing <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a>, which mean any exceptions occurred while trying to pickup files, or the likes, will now be processed as a message and handled by the routing <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a>. By default the consumer will use the <tt>org.apache.camel.spi.ExceptionHandler</tt> to deal with exceptions, that by default will be logged at WARN/ERROR level and ignored. See further below on this page fore more details, at section <em>How to use the Camel error handler to deal with exceptions triggered outside the routing engine</em>. </td></tr></tbody></table>
+</td><td colspan="1" rowspan="1" class="confluenceTd"> Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. In <b>Camel 2.0</b> the default value is 0. In <b>Camel 2.1</b> the default value is 10000. Currently <tt>fileLock</tt>, <tt>changed</tt> and <tt>rename</tt> support the timeout. For <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> the default <tt>readLockTimeout</tt> value is 20000. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>readLockCheckInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> Interval in millis for the read-lock, if supported by the read lock. This interval is used
  for sleeping between attempts to acquire the read lock. For example when using the <tt>changed</tt> read lock, you can set a higher interval period to cater for <em>slow writes</em>. The default of 1 sec. may be <em>too fast</em> if the producer is very slow writing the file. For <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> the default <tt>readLockCheckInterval</tt> is <tt>5000</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>directoryMustExist</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.5:</b> Similar to <tt>startingDirectoryMustExist</tt> but this applies during polling recursive sub directories. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>doneFileName</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6:</b> If provided, Camel will
  only consume files if a <em>done</em> file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The <em>done</em> file is <b>always</b> expected in the same folder as the original file. See <em>using done file</em> and <em>writing done file</em> sections for examples. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>exclusiveReadLockStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Pluggable read-lock as a <tt>org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy</tt> implementation. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxMessagesPerPoll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer to define a maximum messages to gather per poll. By default no maximum is set.
  Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Set a value of 0 or negative to disabled it. See more details at <a shape="rect" href="batch-consumer.html" title="Batch Consumer">Batch Consumer</a>. <b>Notice:</b> If this option is in use then the <a shape="rect" href="file2.html" title="File2">File</a> and <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> components will limit <b>before</b> any sorting. For example if you have 100000 files and use <tt>maxMessagesPerPoll=500</tt>, then only the first 500 files will be picked up, and then sorted. You can use the <tt>eagerMaxMessagesPerPoll</tt> option and set this to <tt>false</tt> to allow to scan all files first and then sort afterwards. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>eagerMaxMessagesPerPoll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <
 b>Camel 2.9.3:</b> Allows to control whether the limit from <tt>maxMessagesPerPoll</tt> is eager or not. If eager then the limit is during the scanning of files. Where as <tt>false</tt> would scan all files, and then perform sorting. Setting this option to <tt>false</tt> allows to sort all files first, and then limit the poll. Mind that this requires a higher memory usage as all file details are in memory to perform the sorting. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>minDepth</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 0 </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8</b>: The minimum depth to start processing when recursively processing a directory. Using <tt>minDepth=1</tt> means the base directory. Using <tt>minDepth=2</tt> means the first sub directory. This option is supported by <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer from <b>Camel 2.8.2, 2.9</b> onwards. </td></tr><tr><td colspan="
 1" rowspan="1" class="confluenceTd"> <tt>maxDepth</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer.MAX_VALUE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> The maximum depth to traverse when recursively processing a directory. This option is supported by <a shape="rect" href="ftp2.html" title="FTP2">FTP</a> consumer from <b>Camel 2.8.2, 2.9</b> onwards. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>processStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.component.file.GenericFileProcessStrategy</tt> allowing you to implement your own <tt>readLock</tt> option or similar. Can also be used when special conditions must be met before a file can be consumed, such as a special <em>ready</em> file exists. If this option is set then the <tt>readLock</tt> option does not apply. </td></tr><t
 r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>startingDirectoryMustExist</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.5:</b> Whether the starting directory must exist. Mind that the <tt>autoCreate</tt> option is default enabled, which means the starting directory is normally auto created if it doesn't exist. You can disable <tt>autoCreate</tt> and enable this to ensure the starting directory must exist. Will thrown an exception if the directory doesn't exist. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>pollStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> A pluggable <tt>org.apache.camel.PollingConsumerPollStrategy</tt> allowing you to provide your custom implementation to control error handling usually occurred during the <tt>poll</tt> operat
 ion <b>before</b> an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> have been created and being routed in Camel. In other words the error occurred while the polling was gathering information, for instance access to a file network failed so Camel cannot access it to scan for files. The default implementation will log the caused exception at <tt>WARN</tt> level and ignore it. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sendEmptyMessageWhenIdle</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consumer.bridgeErrorHandler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Cam
 el 2.10:</b> Allows to bridge the consumer to the Camel routing <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a>, which mean any exceptions occurred while trying to pickup files, or the likes, will now be processed as a message and handled by the routing <a shape="rect" href="error-handler.html" title="Error Handler">Error Handler</a>. By default the consumer will use the <tt>org.apache.camel.spi.ExceptionHandler</tt> to deal with exceptions, that by default will be logged at WARN/ERROR level and ignored. See further below on this page fore more details, at section <em>How to use the Camel error handler to deal with exceptions triggered outside the routing engine</em>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduledExecutorService</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Allows to configure a custom/shared t
 hread pool to use for the consumer. By default each consumer has its own single threaded thread pool. This option allows you to share a thread pool among multiple file consumers. </td></tr></tbody></table>
 </div>
 </div>
 

Modified: websites/production/camel/content/polling-consumer.html
==============================================================================
--- websites/production/camel/content/polling-consumer.html (original)
+++ websites/production/camel/content/polling-consumer.html Sun Jun 24 13:21:29 2012
@@ -257,7 +257,7 @@ from(<span class="code-quote">"activemq:
 
 <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 </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>pollStrategy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"><ul class="alternate" type="square"><li></li></ul>
-</td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.PollingConsumerPollStrategy</tt> allowing you to provide your custom implementation to control error handling usually occurred during the <tt>poll</tt> operation <b>before</b> an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> have been created and being routed in Camel. In other words the error occurred while the polling was gathering information, for instance access to a file network failed so Camel cannot access it to scan for files. The default implementation will log the caused exception at <tt>WARN</tt> level and ignore it. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sendEmptyMessageWhenIdle</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> If the polling consumer did not poll any files, you can enable this option to send an empty message (no b
 ody) instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>startScheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether the scheduler should be auto started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initialDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Milliseconds before the first poll starts. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>delay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>500</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Milliseconds before the next poll. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>useFixedDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay o
 r fixed rate is used. See <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html" rel="nofollow">ScheduledExecutorService</a> in JDK for details. In <b>Camel 2.7.x</b> or older the default value is <tt>false</tt>. From <b>Camel 2.8</b> onwards the default value is <tt>true</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> timeUnit </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TimeUnit.MILLISECONDS</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> time unit for <tt>initialDelay</tt> and <tt>delay</tt> options. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>runLoggingLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TRACE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for th
 at. </td></tr></tbody></table>
+</td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.PollingConsumerPollStrategy</tt> allowing you to provide your custom implementation to control error handling usually occurred during the <tt>poll</tt> operation <b>before</b> an <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> have been created and being routed in Camel. In other words the error occurred while the polling was gathering information, for instance access to a file network failed so Camel cannot access it to scan for files. The default implementation will log the caused exception at <tt>WARN</tt> level and ignore it. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sendEmptyMessageWhenIdle</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> If the polling consumer did not poll any files, you can enable this option to send an empty message (no b
 ody) instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>startScheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether the scheduler should be auto started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>initialDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Milliseconds before the first poll starts. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>delay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>500</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Milliseconds before the next poll. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>useFixedDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay o
 r fixed rate is used. See <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html" rel="nofollow">ScheduledExecutorService</a> in JDK for details. In <b>Camel 2.7.x</b> or older the default value is <tt>false</tt>. From <b>Camel 2.8</b> onwards the default value is <tt>true</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> timeUnit </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TimeUnit.MILLISECONDS</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> time unit for <tt>initialDelay</tt> and <tt>delay</tt> options. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>runLoggingLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TRACE</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for th
 at. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduledExecutorService</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10:</b> Allows to configure a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. This option allows you to share a thread pool among multiple consumers. </td></tr></tbody></table>
 </div>
 </div>
 



Mime
View raw message