You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/10/01 16:32:53 UTC
[jira] Commented: (CAMEL-953) create a new @RecipientList
annotation to create a Dynamic RecipientList or Dynamic Router from a bean
method
[ 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.