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

Reply via email to