Repository: camel Updated Branches: refs/heads/master 77f8f36d1 -> 35de778f0
CAMEL-10689: NoFactoryAvailableException when invoking component-list ssh command Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/35de778f Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/35de778f Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/35de778f Branch: refs/heads/master Commit: 35de778f00d0018637bd0e342fec45a3f69f06c0 Parents: 77f8f36 Author: lburgazzoli <lburgazz...@gmail.com> Authored: Tue Jan 10 17:51:42 2017 +0100 Committer: lburgazzoli <lburgazz...@gmail.com> Committed: Tue Jan 10 17:51:42 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/camel/impl/DefaultCamelContext.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/35de778f/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java index 31e947e..788dc14 100644 --- a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java +++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java @@ -1393,7 +1393,7 @@ public class DefaultCamelContext extends ServiceSupport implements ModelCamelCon try { Class<?> clazz = null; try { - finder.findClass(componentName); + clazz = finder.findClass(componentName); } catch (NoFactoryAvailableException e) { // ignore, i.e. if a component is an auto-configured spring-boot // components @@ -1489,7 +1489,7 @@ public class DefaultCamelContext extends ServiceSupport implements ModelCamelCon try { Class<?> clazz = null; try { - finder.findClass(dataFormatName); + clazz = finder.findClass(dataFormatName); } catch (NoFactoryAvailableException e) { // ignore, i.e. if a component is an auto-configured spring-boot // data-formats @@ -1527,7 +1527,7 @@ public class DefaultCamelContext extends ServiceSupport implements ModelCamelCon try { Class<?> clazz = null; try { - finder.findClass(languageName); + clazz = finder.findClass(languageName); } catch (NoFactoryAvailableException e) { // ignore, i.e. if a component is an auto-configured spring-boot // languages