Author: buildbot Date: Fri Aug 16 08:19:27 2013 New Revision: 874863 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/book-in-one-page.html websites/production/camel/content/book-pattern-appendix.html websites/production/camel/content/cache/main.pageCache websites/production/camel/content/polling-consumer.html 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 Aug 16 08:19:27 2013 @@ -20448,7 +20448,7 @@ public static class MyCoolBean { <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.PollingConsumerPollingStrategy</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 body) 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"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay or 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"> <tt>timeUnit</tt> </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 that. </td></t r><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 for configuring 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><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>greedy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.6/2.11.1:</b> If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" clas s="confluenceTd"> <b>Camel 2.12:</b> Allow to plugin a custom <tt>org.apache.camel.spi.ScheduledPollConsumerScheduler</tt> to use as the scheduler for firing when the polling consumer runs. The default implementation uses the <tt>ScheduledExecutorService</tt> and there is a <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, and <a shape="rect" href="spring.html" title="Spring">Spring</a> based which supports CRON expressions. <b>Notice:</b> If using a custom scheduler then the options for <tt>initialDelay</tt>, <tt>useFixedDelay</tt>, <tt>timeUnit</tt>, and <tt>scheduledExecutorService</tt> may not be in use. Use the text <tt>quartz2</tt> to refer to use the <span class="error">[Quarz2]</span> scheduler; and use the text <tt>spring</tt> to use the <a shape="rect" href="spring.html" title="Spring">Spring</a> based; and use the text <tt>#myScheduler</tt> to refer to a custom scheduler by its id in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </ td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler.xxx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.12:</b> To configure additional properties when using a custom <tt>scheduler</tt> or any of the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, <a shape="rect" href="spring.html" title="Spring">Spring</a> based scheduler. </td></tr></tbody></table> +</td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.PollingConsumerPollingStrategy</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 body) 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"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay or 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"> <tt>timeUnit</tt> </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 that. </td></t r><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 for configuring 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><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>greedy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.6/2.11.1:</b> If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" clas s="confluenceTd"> <b>Camel 2.12:</b> Allow to plugin a custom <tt>org.apache.camel.spi.ScheduledPollConsumerScheduler</tt> to use as the scheduler for firing when the polling consumer runs. The default implementation uses the <tt>ScheduledExecutorService</tt> and there is a <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, and <a shape="rect" href="spring.html" title="Spring">Spring</a> based which supports CRON expressions. <b>Notice:</b> If using a custom scheduler then the options for <tt>initialDelay</tt>, <tt>useFixedDelay</tt>, <tt>timeUnit</tt>, and <tt>scheduledExecutorService</tt> may not be in use. Use the text <tt>quartz2</tt> to refer to use the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a> scheduler; and use the text <tt>spring</tt> to use the <a shape="rect" href="spring.html" title="Spring">Spring</a> based; and use the text <tt>#myScheduler</tt> to refer to a custom scheduler by its id in the <a shape="rect" href="registry.html" title ="Registry">Registry</a>. See <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a> page for an example. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler.xxx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.12:</b> To configure additional properties when using a custom <tt>scheduler</tt> or any of the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, <a shape="rect" href="spring.html" title="Spring">Spring</a> based scheduler. </td></tr></tbody></table> </div> </div> Modified: websites/production/camel/content/book-pattern-appendix.html ============================================================================== --- websites/production/camel/content/book-pattern-appendix.html (original) +++ websites/production/camel/content/book-pattern-appendix.html Fri Aug 16 08:19:27 2013 @@ -5176,7 +5176,7 @@ public static class MyCoolBean { <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.PollingConsumerPollingStrategy</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 body) 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"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay or 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"> <tt>timeUnit</tt> </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 that. </td></t r><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 for configuring 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><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>greedy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.6/2.11.1:</b> If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" clas s="confluenceTd"> <b>Camel 2.12:</b> Allow to plugin a custom <tt>org.apache.camel.spi.ScheduledPollConsumerScheduler</tt> to use as the scheduler for firing when the polling consumer runs. The default implementation uses the <tt>ScheduledExecutorService</tt> and there is a <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, and <a shape="rect" href="spring.html" title="Spring">Spring</a> based which supports CRON expressions. <b>Notice:</b> If using a custom scheduler then the options for <tt>initialDelay</tt>, <tt>useFixedDelay</tt>, <tt>timeUnit</tt>, and <tt>scheduledExecutorService</tt> may not be in use. Use the text <tt>quartz2</tt> to refer to use the <span class="error">[Quarz2]</span> scheduler; and use the text <tt>spring</tt> to use the <a shape="rect" href="spring.html" title="Spring">Spring</a> based; and use the text <tt>#myScheduler</tt> to refer to a custom scheduler by its id in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </ td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler.xxx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.12:</b> To configure additional properties when using a custom <tt>scheduler</tt> or any of the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, <a shape="rect" href="spring.html" title="Spring">Spring</a> based scheduler. </td></tr></tbody></table> +</td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.PollingConsumerPollingStrategy</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 body) 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"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay or 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"> <tt>timeUnit</tt> </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 that. </td></t r><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 for configuring 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><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>greedy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.6/2.11.1:</b> If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" clas s="confluenceTd"> <b>Camel 2.12:</b> Allow to plugin a custom <tt>org.apache.camel.spi.ScheduledPollConsumerScheduler</tt> to use as the scheduler for firing when the polling consumer runs. The default implementation uses the <tt>ScheduledExecutorService</tt> and there is a <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, and <a shape="rect" href="spring.html" title="Spring">Spring</a> based which supports CRON expressions. <b>Notice:</b> If using a custom scheduler then the options for <tt>initialDelay</tt>, <tt>useFixedDelay</tt>, <tt>timeUnit</tt>, and <tt>scheduledExecutorService</tt> may not be in use. Use the text <tt>quartz2</tt> to refer to use the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a> scheduler; and use the text <tt>spring</tt> to use the <a shape="rect" href="spring.html" title="Spring">Spring</a> based; and use the text <tt>#myScheduler</tt> to refer to a custom scheduler by its id in the <a shape="rect" href="registry.html" title ="Registry">Registry</a>. See <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a> page for an example. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler.xxx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.12:</b> To configure additional properties when using a custom <tt>scheduler</tt> or any of the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, <a shape="rect" href="spring.html" title="Spring">Spring</a> based scheduler. </td></tr></tbody></table> </div> </div> Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/polling-consumer.html ============================================================================== --- websites/production/camel/content/polling-consumer.html (original) +++ websites/production/camel/content/polling-consumer.html Fri Aug 16 08:19:27 2013 @@ -272,7 +272,7 @@ public static class MyCoolBean { <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.PollingConsumerPollingStrategy</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 body) 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"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay or 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"> <tt>timeUnit</tt> </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 that. </td></t r><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 for configuring 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><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>greedy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.6/2.11.1:</b> If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" clas s="confluenceTd"> <b>Camel 2.12:</b> Allow to plugin a custom <tt>org.apache.camel.spi.ScheduledPollConsumerScheduler</tt> to use as the scheduler for firing when the polling consumer runs. The default implementation uses the <tt>ScheduledExecutorService</tt> and there is a <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, and <a shape="rect" href="spring.html" title="Spring">Spring</a> based which supports CRON expressions. <b>Notice:</b> If using a custom scheduler then the options for <tt>initialDelay</tt>, <tt>useFixedDelay</tt>, <tt>timeUnit</tt>, and <tt>scheduledExecutorService</tt> may not be in use. Use the text <tt>quartz2</tt> to refer to use the <span class="error">[Quarz2]</span> scheduler; and use the text <tt>spring</tt> to use the <a shape="rect" href="spring.html" title="Spring">Spring</a> based; and use the text <tt>#myScheduler</tt> to refer to a custom scheduler by its id in the <a shape="rect" href="registry.html" title="Registry">Registry</a>. </ td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler.xxx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.12:</b> To configure additional properties when using a custom <tt>scheduler</tt> or any of the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, <a shape="rect" href="spring.html" title="Spring">Spring</a> based scheduler. </td></tr></tbody></table> +</td><td colspan="1" rowspan="1" class="confluenceTd"> A pluggable <tt>org.apache.camel.PollingConsumerPollingStrategy</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 body) 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"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Controls if fixed delay or 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"> <tt>timeUnit</tt> </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 that. </td></t r><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 for configuring 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><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>greedy</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.10.6/2.11.1:</b> If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" clas s="confluenceTd"> <b>Camel 2.12:</b> Allow to plugin a custom <tt>org.apache.camel.spi.ScheduledPollConsumerScheduler</tt> to use as the scheduler for firing when the polling consumer runs. The default implementation uses the <tt>ScheduledExecutorService</tt> and there is a <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, and <a shape="rect" href="spring.html" title="Spring">Spring</a> based which supports CRON expressions. <b>Notice:</b> If using a custom scheduler then the options for <tt>initialDelay</tt>, <tt>useFixedDelay</tt>, <tt>timeUnit</tt>, and <tt>scheduledExecutorService</tt> may not be in use. Use the text <tt>quartz2</tt> to refer to use the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a> scheduler; and use the text <tt>spring</tt> to use the <a shape="rect" href="spring.html" title="Spring">Spring</a> based; and use the text <tt>#myScheduler</tt> to refer to a custom scheduler by its id in the <a shape="rect" href="registry.html" title ="Registry">Registry</a>. See <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a> page for an example. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scheduler.xxx</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.12:</b> To configure additional properties when using a custom <tt>scheduler</tt> or any of the <a shape="rect" href="quartz2.html" title="Quartz2">Quartz2</a>, <a shape="rect" href="spring.html" title="Spring">Spring</a> based scheduler. </td></tr></tbody></table> </div> </div>