camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-953) create a new @RecipientList annotation to create a Dynamic RecipientList or Dynamic Router from a bean method
Date Wed, 01 Oct 2008 14:32:53 GMT

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

James Strachan commented on CAMEL-953:
--------------------------------------

added an initial implementation and test case

> create a new @RecipientList annotation to create a Dynamic RecipientList or Dynamic Router
from a bean method
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-953
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-953
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.5.0
>
>
> e.g.
> {code}
> class Cheese {
>   @RecipientList
>   String[] route(@Header("foo") bar) {
>        return new String[] { "file:/foo/" + bar };
>   }
> }
> {code}
> the method should return an object which can be converted to either a collection/array
of something convertable to Endpoint/String or an object convertable to Endpoint/String

-- 
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