[ 
https://issues.apache.org/activemq/browse/CAMEL-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60033#action_60033
 ] 

Claus Ibsen commented on CAMEL-2705:
------------------------------------

There is now a new {{class}} component in Camel
trunk: 954036.

It got that little DI stuff as well. You can use the # notation to lookup refs 
as well.

> Add class as component for invoking beans but based on FQN classnames
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-2705
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2705
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> [10:09]  <jstrachan> wonder to avoid using a string as a name, then as a 
> class, we use a class uri?
> [10:09]  <jstrachan> <to uri="class:org.acme.SomeBean"/>
> [10:12]  <davsclaus> ah yeah that is clever
> [10:12]  <davsclaus> jstrachan i like that one
> [10:13]  <jstrachan> might be rare but some folks might use a class name as a 
> name and you could get a clash I guess
> [10:14]  <davsclaus> yeah and by class it spell out that its resolving a 
> class and not looking up a bean name

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

Reply via email to