camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Routing to a method of an object with more than one parameters
Date Tue, 04 Mar 2008 16:36:50 GMT
On 04/03/2008, georgiosgeorgiadis <georgiosgeorgiadis@yahoo.co.uk> wrote:
>
>  Hooray, the BeanInvocation(null,pojo.getClass().getDeclaredMethod(...),new
>  Object[]{...}) is working.

Great!

We could maybe have a helper method to create a new BeanInvocation
from a method name and argument array to make it a little easier to
use.


> It really calls the specified method. But...
>  unfortunately it does not work through TCP call (non-serializable), thus I
>  will have to create it from the listener's side.

FWIW in trunk of Camel BeanInvocation is serializable (well
externalizable) so it should work in 1.3.0
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message