On Thu, Jun 14, 2012 at 9:58 PM, Tyler Durvik <phangb...@gmail.com> wrote:

> Yes.  I want to dynamically build recipient list, but all the
> destinations will be camel processor.  I see examples where you parse
> a header using a comma (","), or a java.util.List of strings but not
> processors.  I am trying to build the list dynamically inside a bean.
>
>
If you enlist your processors in the registry, eg if you use Spring XML,
then define them as <bean>, then you can refer to them using the bean
component

return "bean:foo,bean:bar"


<bean id="foo" class="com.mycompany.MyFooProcessor"/>


>
>
> On Thu, Jun 14, 2012 at 3:50 PM, Vincent Nonnenmacher
> <vincent.nonnenmac...@gmail.com> wrote:
> > you means this <http://camel.apache.org/recipient-list.html> is not what
> > you're looking for ?
> >
> >
> > On Thu, Jun 14, 2012 at 9:08 PM, Tyler Durvik <phangb...@gmail.com>
> wrote:
> >
> >> Is it possible to send a message to a group of Camel processors using
> >> a recipient list ?  I have looked through the documentation and cannot
> >> find an example of this.
> >>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to