camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hekon...@apache.org
Subject git commit: [CAMEL-6929] Narrowed possible values of @ExcludeRoutes.
Date Sun, 03 Nov 2013 13:13:16 GMT
Updated Branches:
  refs/heads/master e6059b49a -> 41ce3c6fd


[CAMEL-6929] Narrowed possible values of @ExcludeRoutes.


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

Branch: refs/heads/master
Commit: 41ce3c6fdbe65dc669bbe9b5b51952285a659e9c
Parents: e6059b4
Author: Henryk Konsek <hekonsek@gmail.com>
Authored: Sun Nov 3 14:13:05 2013 +0100
Committer: Henryk Konsek <hekonsek@gmail.com>
Committed: Sun Nov 3 14:13:05 2013 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/test/spring/ExcludeRoutes.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/41ce3c6f/components/camel-test-spring/src/main/java/org/apache/camel/test/spring/ExcludeRoutes.java
----------------------------------------------------------------------
diff --git a/components/camel-test-spring/src/main/java/org/apache/camel/test/spring/ExcludeRoutes.java
b/components/camel-test-spring/src/main/java/org/apache/camel/test/spring/ExcludeRoutes.java
index 38c4c00..2b1617d 100644
--- a/components/camel-test-spring/src/main/java/org/apache/camel/test/spring/ExcludeRoutes.java
+++ b/components/camel-test-spring/src/main/java/org/apache/camel/test/spring/ExcludeRoutes.java
@@ -23,6 +23,8 @@ import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
+import org.apache.camel.RoutesBuilder;
+
 /**
  * Indicates if certain route builder classes should be excluded from discovery.  
  * Initializes a {@link org.apache.camel.spi.PackageScanClassResolver} to exclude a set of
given
@@ -38,5 +40,5 @@ public @interface ExcludeRoutes {
     /**
      * The classes to exclude from resolution when using package scanning.
      */
-    Class<?>[] value() default {};
+    Class<? extends RoutesBuilder>[] value() default {};
 }


Mime
View raw message