camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Janik <>
Subject Ambiguous method invocations in bean binding
Date Wed, 03 Nov 2010 14:46:46 GMT

I have a question regarding bean binding in camel 

In my code there are two methods:

String methodA (String string);
String methodA (InputStream is);

I camel the stream is sent to bean:beanA?method=methodA

with result :

Ambiguous method invocations possible.

I can't (don't want to) annotate method with @Handler, probably the best 
way to do it is to use bean/processor.

Why camel can't match the best method?



View raw message