Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use FQDN in camel TypeConverter file #34

Closed
jludvice opened this issue May 29, 2017 · 2 comments
Closed

use FQDN in camel TypeConverter file #34

jludvice opened this issue May 29, 2017 · 2 comments
Milestone

Comments

@jludvice
Copy link
Member

jludvice commented May 29, 2017

http://camel.apache.org/type-converter.html

file src/main/resources/META-INF/services/org/apache/camel/TypeConverter
allows to specify just package name or FQDN
but package name doesn't work with spring-boot and openshift.
Need to switch to FQDN.

Following exception is thrown unless we specify FQDN

Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot find any type converter classes from the following packages: [com.github.czgov.isds.types]
	at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:119)
	at org.apache.camel.impl.converter.BaseTypeConverterRegistry.loadTypeConverters(BaseTypeConverterRegistry.java:602)
	at org.apache.camel.impl.converter.DefaultTypeConverter.doStart(DefaultTypeConverter.java:53)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
	at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1283)
	at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1243)
	at org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelContext.java:2369)
	... 38 common frames omitted
@jludvice jludvice added this to the 0.2.0 milestone May 29, 2017
@jludvice
Copy link
Member Author

Fix (161fb16) released in version 0.2.0.

@jludvice
Copy link
Member Author

There is issue in camel issue tracker to include note about this in camel docs:
https://issues.apache.org/jira/browse/CAMEL-11371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant