Should I take it off the page then http://activemq.apache.org/camel/bean-language.html ? As it quite clearly states it is in 1.5.
Unless I am mistaken the following problems exist: bean() is not available inside expression() method(Class type, String methodName) is not available. ----- Original message ----- From: "James Strachan" <[EMAIL PROTECTED]> To: [email protected] Date: Tue, 21 Oct 2008 13:02:54 +0100 Subject: Re: Non registry beans 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/
