You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/05/27 15:36:27 UTC

[camel] 01/02: camel3 - Fixed so fallback type converter is from url3

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 6ee23cf9e0aa553bf293af91f592c9fac499f7b3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 27 16:59:44 2019 +0200

    camel3 - Fixed so fallback type converter is from url3
---
 .../src/main/java/org/apache/camel/core/osgi/impl/Activator.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/impl/Activator.java b/core/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/impl/Activator.java
index dd105b0..ac1e0f5 100644
--- a/core/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/impl/Activator.java
+++ b/core/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/impl/Activator.java
@@ -235,7 +235,7 @@ public class Activator implements BundleActivator, BundleTrackerCustomizer<Objec
             URL url3 = bundle.getEntry(META_INF_FALLBACK_TYPE_CONVERTER);
             if (url1 != null || url2 != null || url3 != null) {
                 LOG.debug("Found TypeConverter in bundle {}", bundle.getSymbolicName());
-                resolvers.add(new BundleTypeConverterLoader(bundle, url2 != null));
+                resolvers.add(new BundleTypeConverterLoader(bundle, url3 != null));
             }
         }
     }