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 63937191E9 for ; Tue, 19 Apr 2016 16:19:22 +0000 (UTC) Received: (qmail 12872 invoked by uid 500); 19 Apr 2016 16:19:21 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 12620 invoked by uid 500); 19 Apr 2016 16:19:20 -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 12341 invoked by uid 99); 19 Apr 2016 16:19:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2016 16:19:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9B312E04EB; Tue, 19 Apr 2016 16:19:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Tue, 19 Apr 2016 16:19:43 -0000 Message-Id: In-Reply-To: <61672262ac714d9fa3a53f83efffec7f@git.apache.org> References: <61672262ac714d9fa3a53f83efffec7f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [24/24] camel git commit: CAMEL-9879: Circuit Breaker EIP - That is using hystrix CAMEL-9879: Circuit Breaker EIP - That is using hystrix Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2e3745fb Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2e3745fb Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2e3745fb Branch: refs/heads/master Commit: 2e3745fb6468b0e9ac58121dd3844101ce740905 Parents: fcbebd7 Author: Claus Ibsen Authored: Tue Apr 19 14:21:37 2016 +0200 Committer: Claus Ibsen Committed: Tue Apr 19 18:16:45 2016 +0200 ---------------------------------------------------------------------- .../org/apache/camel/impl/DefaultProcessorFactory.java | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/2e3745fb/camel-core/src/main/java/org/apache/camel/impl/DefaultProcessorFactory.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultProcessorFactory.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultProcessorFactory.java index 4e64942..f958435 100644 --- a/camel-core/src/main/java/org/apache/camel/impl/DefaultProcessorFactory.java +++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultProcessorFactory.java @@ -23,6 +23,17 @@ import org.apache.camel.spi.FactoryFinder; import org.apache.camel.spi.ProcessorFactory; import org.apache.camel.spi.RouteContext; +/** + * Default {@link ProcessorFactory} that supports using 3rd party Camel components to implement the EIP {@link Processor}. + *

+ * The component should use the {@link FactoryFinder} SPI to specify a file with the name of the EIP model in the + * directory of {@link #RESOURCE_PATH}. The file should contain a property with key class that refers + * to the name of the {@link ProcessorFactory} the Camel component implement, which gets called for creating + * the {@link Processor}s for the EIP. + *

+ * The Hystrix EIP is such an example where {@link org.apache.camel.model.HystrixDefinition} is implemented + * in the camel-hystrix component. + */ public class DefaultProcessorFactory implements ProcessorFactory { public static final String RESOURCE_PATH = "META-INF/services/org/apache/camel/model/";