camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@meteo.be>
Subject Re: camel and spring in a webapp
Date Mon, 13 Feb 2012 10:10:13 GMT
Here i what i see in sources of camel-core-2.9.0 

package org.apache.camel.impl.converter; 

import java.io.IOException; 

/** 
* Will load all type converters from camel-core without classpath scanning, which makes 
* it much faster. 
* <p/> 
* The {@link CorePackageScanClassResolver} contains a hardcoded list of the type converter
classes to load. 
*/ 
public class CoreTypeConverterLoader extends AnnotationTypeConverterLoader { 

public CoreTypeConverterLoader() { 
super(new CorePackageScanClassResolver()); 
} 

@Override 
protected String[] findPackageNames() throws IOException { 
return new String[]{"org.apache.camel.converter", "org.apache.camel.component.bean", "org.apache.camel.component.file"};

} 

} 


so, yes, it's looking for "org.apache.camel.converter " in 2.9.0 

----- Mail original -----

De: "Willem.Jiang" <willem.jiang@gmail.com> 
À: users@camel.apache.org 
Envoyé: Vendredi 10 Février 2012 04:25:43 
Objet: Re: camel and spring in a webapp 

Hi, 

Camel does not try to load the annotated Converter from package of 
'org.apache.camel.converter' since Camel 2.8.0. 
Can you check if you wrap the other version of camel into your war ? 


-- 
View this message in context: http://camel.465427.n5.nabble.com/camel-and-spring-in-a-webapp-tp5469916p5471412.html

Sent from the Camel - Users mailing list archive at Nabble.com. 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message