You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ben O'Day (JIRA)" <ji...@apache.org> on 2011/07/14 00:08:59 UTC

[jira] [Assigned] (CAMEL-4226) add Expressions support on to(), bean() and beanRef() to allow for dynamic endpints (similar to recipientList)

     [ https://issues.apache.org/jira/browse/CAMEL-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben O'Day reassigned CAMEL-4226:
--------------------------------

    Assignee: Ben O'Day

> add Expressions support on to(), bean() and beanRef() to allow for dynamic endpints (similar to recipientList)
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4226
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4226
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Ben O'Day
>            Assignee: Ben O'Day
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> just a thought, but any reason we couldn't overload these APIs to also support Expressions?  Is there another way to do this?
> to(simple("bean:myBean?method=${headers.operationName}"))
> bean(MyBean.class, simple("${headers.operationName}"))
> beanRef("myBean", simple("${headers.operationName}"))
> The goal being to make it (slighlty) easier/more flexible than using recipientList for the same...
> recipientList(simple("bean:myBean?method=${headers.operationName}"))

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira