Hi,
  A have a bean with many-many interface functions, I want to route to them
without to explicitly hard code the function name into a switch() ...
statement.

  For example: The method name itself I put in exchange header or a
property. Then  It's possible to send the exchange to

   .to("bean:beanName?method=${header.collect}")

 where ${collect} come from header or property.

Thanks,
Zsolt

Reply via email to