camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: recipient list sending to multiple Camel Processors
Date Fri, 15 Jun 2012 04:34:59 GMT
On Thu, Jun 14, 2012 at 9:58 PM, Tyler Durvik <phangbyte@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.nonnenmacher@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 <phangbyte@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: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message