Hi, Jeremy.  Yes, I created a Dynamic Router EIP component recently.  The
first version selected only the first matching recipient to send an
exchange to.  Now I have added a mode that will select (and send to) all
matching recipients.  I would like to send the exchanges in parallel to
each of the selected recipients to avoid slowing the routing.


On Thu, Jan 27, 2022 at 11:35 AM Jeremy Ross <jeremy.g.r...@gmail.com>
wrote:

> I replied to you a few days ago on Zulip. I'm not quite sure what you mean
> by "component". Is this a custom Component you're creating?
>
> On Tue, Jan 25, 2022 at 3:12 PM Steve973 <steve...@gmail.com> wrote:
>
> > Hello.  I sent another message a few days ago, but perhaps it got lost in
> > the shuffle.  I am trying to send exchanges in parallel within a
> > component.  I have tried using completable futures as well as a parallel
> > stream, but they both result in using up resources very quickly, even
> when
> > I make sure that the resources are bounded.  I tried looking at the
> > Multicast Processor, but it is not abundantly clear to me how it achieves
> > parallel multicasting.  I even tried to instantiate a MulticastProcessor,
> > but I was getting some errors.  Does anyone have some suggestions?
> >
> > Thanks,
> > Steve
> >
>

Reply via email to