camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Newsham <jnews...@referentia.com>
Subject Re: TypeConverterLoaderException in webstart
Date Mon, 06 Jun 2011 21:37:26 GMT

Thanks Andreas, this fix worked for me.  Appreciate the help!

Regards,
Jim

On 6/6/2011 12:12 AM, Andreas Kuhtz wrote:
> 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