camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen">
Subject RE: Non registry beans
Date Tue, 21 Oct 2008 14:51:55 GMT

Please create a ticket in JIRA so we can get it fixed, hopefully in 1.5.

Med venlig hilsen
Claus Ibsen
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576

-----Original Message-----
From: Martin Gilday [] 
Sent: 21. oktober 2008 14:10
Subject: Re: Non registry beans

Should I take it off the page then ?
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" <>
Date: Tue, 21 Oct 2008 13:02:54 +0100
Subject: Re: Non registry beans

2008/10/21 Martin Gilday <>:
> 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!


Open Source Integration

View raw message