camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2705) Add class as component for invoking beans but based on FQN classnames
Date Sat, 12 Jun 2010 15:59:52 GMT

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

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

Yeah the {{class}} gives us the chance to support setting properties on the instance 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
>            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.


Mime
View raw message