camel-users mailing list archives

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

I have a question regarding bean binding in camel 
(http://camel.apache.org/bean-binding.html).

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?

regards,


rafal







Mime
View raw message