camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-8491: Camel POJO producer/consumer should defer starting until CamelContext is starting
Date Mon, 16 Mar 2015 12:46:14 GMT
Repository: camel
Updated Branches:
  refs/heads/master 9600bc4fe -> 245b41126


CAMEL-8491: Camel POJO producer/consumer should defer starting until CamelContext is starting


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/245b4112
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/245b4112
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/245b4112

Branch: refs/heads/master
Commit: 245b4112672124c85457a7c8e7454f2d9584f4d0
Parents: 9600bc4
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Mar 16 13:47:54 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 16 13:47:54 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/DeferStartService.java     | 28 --------------------
 .../camel/processor/DeferServiceFactory.java    |  4 +--
 2 files changed, 2 insertions(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/245b4112/camel-core/src/main/java/org/apache/camel/DeferStartService.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/DeferStartService.java b/camel-core/src/main/java/org/apache/camel/DeferStartService.java
deleted file mode 100644
index 90e45b3..0000000
--- a/camel-core/src/main/java/org/apache/camel/DeferStartService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel;
-
-public interface DeferStartService<T, F> {
-
-    /**
-     * Creates the service by defers starting the service.
-     *
-     * @param factory the factory which creates the service
-     * @return the service
-     */
-    T create(F factory);
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/245b4112/camel-core/src/main/java/org/apache/camel/processor/DeferServiceFactory.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/DeferServiceFactory.java
b/camel-core/src/main/java/org/apache/camel/processor/DeferServiceFactory.java
index 9dac0dd..b008ec7 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/DeferServiceFactory.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/DeferServiceFactory.java
@@ -21,8 +21,8 @@ import org.apache.camel.Producer;
 import org.apache.camel.impl.DeferProducer;
 
 /**
- * Factory to create {@link org.apache.camel.DeferStartService} services such as {@link Producer}s
- * and {@link org.apache.camel.PollingConsumer}s
+ * Factory to create services such as {@link Producer}s
+ * and defer starting the created service, until {@link org.apache.camel.CamelContext} has
been started.
  */
 public class DeferServiceFactory {
 


Mime
View raw message