Claus Ibsen-2 wrote
>
> Hi
>
> Sometimes you can also just use a bean method, and from there use the
> ProducerTemplate to send your messages wherever you want, and you can
> send multiple messages to X different endpoints etc. And you don't
> have to wait for replies as you can send the messages as one-way etc.
>
>
I have not yet bought the book unfortunately. But looking at your reply it
seems different to my situation.
I am in the middle of a route, I am not an "outside" thread that inject
messages in an already built route.
Do you mean that inside a routed bean ( to("bean:foo") ) I can use producer
template?
Now my solution is this: the bean put a list of destinations in an header
that is then used by recipientlist()
--
View this message in context:
http://camel.465427.n5.nabble.com/RecipientList-without-aggregation-tp5601505p5608610.html
Sent from the Camel - Users mailing list archive at Nabble.com.