camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Resolved: (CAMEL-844) Bean language to support invoking beans not in registry
Date Mon, 25 Aug 2008 13:55:52 GMT


Claus Ibsen resolved CAMEL-844.

    Resolution: Fixed

Added wiki documentation to Bean Language

> Bean language to support invoking beans not in registry
> -------------------------------------------------------
>                 Key: CAMEL-844
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
> The bean language is fantastic, but using the java DSL routing without the spring beans
is a bit painful as you need to register the beans in the registry before you can use it.
> Sometimes you just want it to invoke a method on pojo class so we need to support this
style also:
> {code:java}
> bean(MyPojoClass.class, "helloworld")
> {code}
> Where MyPojoClass will be created on the fly and invoking the *helloworld* method.
> Also if the class is already created we can use a reference to it:
> {code:java}
> bean(myInstance, "helloworld")
> {code}

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message