camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: Camel catalog - Validate incapable parsing errors
Date Thu, 07 Jan 2016 20:31:15 GMT
Camel catalog - Validate incapable parsing errors


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

Branch: refs/heads/camel-2.16.x
Commit: 84774949b2e68c6cfe9be4fa1232b2e7c75b908b
Parents: f8cbb28
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Jan 7 21:29:34 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Jan 7 21:31:07 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/catalog/DefaultCamelCatalog.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/84774949/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
----------------------------------------------------------------------
diff --git a/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
b/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
index 1e97a1f..14a4d50 100644
--- a/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
+++ b/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
@@ -756,6 +756,8 @@ public class DefaultCamelCatalog implements CamelCatalog {
                     result.addIncapable(uri);
                 } else if (scheme != null) {
                     result.addUnknownComponent(scheme);
+                } else {
+                    result.addUnknownComponent(uri);
                 }
                 return result;
             }


Mime
View raw message