camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Kuhtz <andreas.ku...@siemens.com>
Subject RE: TypeConverterLoaderException in webstart
Date Mon, 06 Jun 2011 10:12:49 GMT
Found out that you must return at least one converter to make camel happy ...
Use this updated method:

	public Set&lt;Class&lt;?&gt;> findAnnotated(Class<? extends Annotation>
annotation,
			String... packageNames) {
        // we must return at least 1 converter ....
        Set&lt;Class&lt;?&gt;> annotedClasses = new
LinkedHashSet&lt;Class&lt;?&gt;>();
       
annotedClasses.add(org.apache.camel.converter.ObjectConverter.class);
        annotedClasses.add(org.apache.camel.converter.CamelConverter.class);
		return annotedClasses;
	}




--
View this message in context: http://camel.465427.n5.nabble.com/TypeConverterLoaderException-in-webstart-tp4430758p4458169.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message