Could someone help with the below issue? Below is the custom packageresolver:
import java.io.IOException; import java.net.URL; import java.util.Enumeration; import org.apache.camel.impl.DefaultPackageScanClassResolver; import org.springframework.stereotype.Component; @Component public class SpringBootPackageResolver extends DefaultPackageScanClassResolver { private final String resourcePath; public SpringBootPackageResolver() { this.resourcePath = "META-INF/services/org/apache/camel/TypeConverter"; } public static boolean isWebSphereClassLoader(ClassLoader loader) { return loader != null ? loader.getClass().getName().startsWith("com.") : false; } @Override protected Enumeration<URL> getResources(ClassLoader loader, String packageName) throws IOException { // try super first, just in vase Enumeration<URL> enumeration = super.getResources(loader, "com/domain/"); if (!enumeration.hasMoreElements()) { enumeration = loader.getResources("com/domain/"); } return enumeration; } } -- View this message in context: http://camel.465427.n5.nabble.com/Camel-bindy-not-working-in-Spring-boot-tp5780995p5781012.html Sent from the Camel - Users mailing list archive at Nabble.com.