I am trying to route to a bean instance by specifying a method-name using
Camel 1.6. This specific route is defined as below:

<camel:bean ref="myBean" method="myMethod"/>

The method myMethod is overloaded

public void myMethod(){
}

public void myMethod(Date date){
}

Depending on how I order my methods in the class, either of these seem to be
getting picked up by the BeanProcessor. Is there any way I can force it to
use the method without any arguments? If this is not possible, what is a
good way to always pass null as the date parameter to the myMethod
invocation? Any pointers would be very helpful.

Thanks
Sriram
-- 
View this message in context: 
http://www.nabble.com/camel-bean-processor-question-tp24119905p24119905.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to