2008/10/21 Martin Gilday <[EMAIL PROTECTED]>:
> I think there is only method() insted of methodCall() which differs from
> Java DSL to Spring DSL.
>
> What I think I really need is
> from("").choice().when().method(null, null).to("").otherwise().to("");

Yes thats the one

> However looking at the example I posted first (which doesn't compile) it
> says you should be able to put the name of a class rather than a bean
> name
> from("activemq:OrdersTopic").filter().expression(bean(MyBean.class,
> "isGoldCustomer")).to("activemq:BigSpendersQueue");
>
> Is this still under development or should it be in 1.5-SNAPSHOT?

We don't yet support the method(Class type, String methodName) method
in the Java DSL. We should add this!

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to