camel-users mailing list archives

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

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


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: Martin Gilday [mailto:martin.lists@imap.cc] 
Sent: 21. oktober 2008 14:10
To: camel-user@activemq.apache.org
Subject: Re: Non registry beans

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" <james.strachan@gmail.com>
To: camel-user@activemq.apache.org
Date: Tue, 21 Oct 2008 13:02:54 +0100
Subject: Re: Non registry beans

2008/10/21 Martin Gilday <martin.lists@imap.cc>:
> 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/

Mime
View raw message