Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB299EB0E for ; Tue, 5 Feb 2013 15:24:56 +0000 (UTC) Received: (qmail 96190 invoked by uid 500); 5 Feb 2013 15:24:56 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 96090 invoked by uid 500); 5 Feb 2013 15:24:55 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 96064 invoked by uid 99); 5 Feb 2013 15:24:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 15:24:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 15:24:52 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DEFDE238890B for ; Tue, 5 Feb 2013 15:24:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r849488 - in /websites/production/camel/content: book-cookbook.html camel-test.html Date: Tue, 05 Feb 2013 15:24:33 -0000 To: commits@camel.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130205152433.DEFDE238890B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Feb 5 15:24:33 2013 New Revision: 849488 Log: Production update by buildbot for camel Modified: websites/production/camel/content/book-cookbook.html websites/production/camel/content/camel-test.html Modified: websites/production/camel/content/book-cookbook.html ============================================================================== --- websites/production/camel/content/book-cookbook.html (original) +++ websites/production/camel/content/book-cookbook.html Tue Feb 5 15:24:33 2013 @@ -2009,11 +2009,10 @@ mock.allMessages().arrives().noLaterThan Override when using advice with and return true.  This helps in knowing the adviceWith is to be used, and the CamelContext will not be started before the advice with takes place. This delay helps by ensuring the advice with has been property setup before the CamelContext is started.
Its important to start the CamelContext manually from the unit test after you are done doing all the advice with.


Returns false.  the CamelContext is started automatically before test methods are invoked. boolean isCreateCamelContextPerClass()
See Setup CamelContext once per class, or per every test method. The CamelContext and routes are recreated for each test method. String isMockEndpoints() Triggers the auto-mocking of endpoints whose URIs match the provided filter.  The default filter is null which disables this feature.  Return "*"  to match all endpoints.  See org.apache.camel.impl.InterceptSendToMockEndpointStrategy for more details on the registration of the mock endpoints. Disabled boolean isUseDebugger() If this method returns true, the debugBefore(Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label) and 
-debugAfter(Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label, long timeTaken) methods are invoked for each processor in the registered routes. Disabled.  The methods are not invoked during the test. int getShutdownTimeout() Returns the number of seconds that Camel should wait for graceful shutdown.  Useful for decreasing test times when a message is still in flight at the end of the test. Returns 10 seconds. boolean useJmx() If JMX should be disabled on the CamelContext used in the test. JMX is disa bled. JndiRegistry createRegistry()
Provides a hook for adding objects into the registry.  Override this method to bind objects to the registry before test methods are invoked. An empty registry is initialized. +debugAfter(Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label, long timeTaken) methods are invoked for each processor in the registered routes. Disabled.  The methods are not invoked during the test. int getShutdownTimeout() Returns the number of seconds that Camel should wait for graceful shutdown.  Useful for decreasing test times when a message is still in flight at the end of the test. Returns 10 seconds. boolean useJmx() If JMX should be disabled on the CamelContext used in the test. JMX is disa bled. JndiRegistry createRegistry()
Provides a hook for adding objects into the registry.  Override this method to bind objects to the registry before test methods are invoked. An empty registry is initialized. useOverridePropertiesWithPropertiesComponent Camel 2.10: Allows to add/override properties when Using PropertyPlaceholder in Camel. null ignoreMissingLocationWithPropertiesComponent Camel 2.10: Allows to control if Camel should ignore missing locations for properties. null -

JNDI

Camel uses a Registry to allow you to configure Component or Endpoint instances or Beans used in your routes. If you are not using Spring or [OSGi] then JNDI is used as the default registry implementation.

Modified: websites/production/camel/content/camel-test.html ============================================================================== --- websites/production/camel/content/camel-test.html (original) +++ websites/production/camel/content/camel-test.html Tue Feb 5 15:24:33 2013 @@ -185,11 +185,10 @@ Override when using advice with and return true.  This helps in knowing the adviceWith is to be used, and the CamelContext will not be started before the advice with takes place. This delay helps by ensuring the advice with has been property setup before the CamelContext is started.
Its important to start the CamelContext manually from the unit test after you are done doing all the advice with.


Returns false.  the CamelContext is started automatically before test methods are invoked. boolean isCreateCamelContextPerClass()
See Setup CamelContext once per class, or per every test method. The CamelContext and routes are recreated for each test method. String isMockEndpoints() Triggers the auto-mocking of endpoints whose URIs match the provided filter.  The default filter is null which disables this feature.  Return "* "  to match all endpoints.  See org.apache.camel.impl.InterceptSendToMockEndpointStrategy for more details on the registration of the mock endpoints. Disabled boolean isUseDebugger() If this method returns true, the debugBefore(Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label) and 
-debugAfter(Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label, long timeTaken) methods are invoked for each processor in the registered routes. Disabled.  The methods are not invoked during the test. int getShutdownTimeout() Returns the number of seconds that Camel should wait for graceful shutdown.  Useful for decreasing test times when a message is still in flight at the end of the test. Returns 10 seconds. boolean useJmx() If JMX should be disabled on the CamelContext used in the test. JMX is disa bled. JndiRegistry createRegistry()
Provides a hook for adding objects into the registry.  Override this method to bind objects to the registry before test methods are invoked. An empty registry is initialized. +debugAfter(Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label, long timeTaken) methods are invoked for each processor in the registered routes. Disabled.  The methods are not invoked during the test. int getShutdownTimeout() Returns the number of seconds that Camel should wait for graceful shutdown.  Useful for decreasing test times when a message is still in flight at the end of the test. Returns 10 seconds. boolean useJmx() If JMX should be disabled on the CamelContext used in the test. JMX is disa bled. JndiRegistry createRegistry()
Provides a hook for adding objects into the registry.  Override this method to bind objects to the registry before test methods are invoked. An empty registry is initialized. useOverridePropertiesWithPropertiesComponent Camel 2.10: Allows to add/override properties when Using PropertyPlaceholder in Camel. null ignoreMissingLocationWithPropertiesComponent Camel 2.10: Allows to control if Camel should ignore missing locations for properties. null -

JNDI

Camel uses a Registry to allow you to configure Component or Endpoint instances or Beans used in your routes. If you are not using Spring or [OSGi] then JNDI is used as the default registry implementation.