Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Claus Ibsen
Hi I created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-3311 2010/11/4 Paweł Wesołowski : > Hi, > > As a user I would like to see both features in camel. > > Camel should choose the most obvious method to invoke, the one that doesn't > need to convert payload, on his o

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Paweł Wesołowski
Hi, As a user I would like to see both features in camel. Camel should choose the most obvious method to invoke, the one that doesn't need to convert payload, on his own. However, there are situation when it is needed to explicitly pick the method to call and if I had to choose from the two o

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Christian Müller
Hello! I made the tests and the patch against the latest version (2.6-SNAPSHOT). You will still receive this exception... I'm not sure which way we want to go (because of the note from Claus) - maybe both? Christian

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Rafal Janik
Title: This email may contain confident Thanks a lot, I'm using camel in fuse 4.2.0. In version 4.3 there is camel 2.4(.0-fuse) so i will check it. regards, rafal On Thu, Nov 4, 2010 at 9:09 AM, Rafal Janik wrote: Hi, thanks a lot for all answers

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Claus Ibsen
On Thu, Nov 4, 2010 at 9:09 AM, Rafal Janik wrote: > Hi, > > thanks a lot for all answers! > > Sorry Christian, I forgot about it: > > camel-core (2.2.0) > activemq-camel (5.3.0) > jdk 1.6.0.21 > > > Camel 2.4 and 2.5 is much better at picking among ambiguous methods. So please consider upgradi

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Rafal Janik
Hi, thanks a lot for all answers! Sorry Christian, I forgot about it: camel-core (2.2.0) activemq-camel (5.3.0) jdk 1.6.0.21   regards rafal On Thu, Nov 4, 2010 at 12:28 AM, Christian Müller wrote: Hello Rafal! Please provide more details like the Camel version you are u

Re: Ambiguous method invocations in bean binding

2010-11-03 Thread Claus Ibsen
On Thu, Nov 4, 2010 at 12:28 AM, Christian Müller wrote: > Hello Rafal! > > Please provide more details like the Camel version you are using in further > questions. Please have a look here: > http://camel.apache.org/how-can-i-get-help.html > > However, I assume you have a String as payload in your

Re: Ambiguous method invocations in bean binding

2010-11-03 Thread Hadrian Zbarcea
It is a good improvement, +1 from me too. Christian, go for it! Hadrian On Nov 3, 2010, at 11:40 PM, Willem Jiang wrote: > It makes sense, +1 for the change. > > On 11/4/10 7:28 AM, Christian Müller wrote: >> Hello Rafal! >> >> Please provide more details like the Camel version you are using in

Re: Ambiguous method invocations in bean binding

2010-11-03 Thread Willem Jiang
It makes sense, +1 for the change. On 11/4/10 7:28 AM, Christian Müller wrote: Hello Rafal! Please provide more details like the Camel version you are using in further questions. Please have a look here: http://camel.apache.org/how-can-i-get-help.html However, I assume you have a String as pay

Re: Ambiguous method invocations in bean binding

2010-11-03 Thread Christian Müller
Hello Rafal! Please provide more details like the Camel version you are using in further questions. Please have a look here: http://camel.apache.org/how-can-i-get-help.html However, I assume you have a String as payload in your message. The default Camel type converter mechanism is able to conver

Ambiguous method invocations in bean binding

2010-11-03 Thread Rafal Janik
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 invoc