Hi all,
I need to send synchronously two different messages to two different
endpoints but before I can create second request I need first get response
from the first endpoint.
I have tried to use multicast pattern but there is separate exchange created
for each outcome so I cannot communicate
You don't need multicast for this. Just use to(endpoint).to(endpoint)
On Tue, Aug 6, 2013 at 8:45 AM, mateo mateo.nowi...@gmail.com wrote:
Hi all,
I need to send synchronously two different messages to two different
endpoints but before I can create second request I need first get
But to create request for ENDPOINT2 I need two things: original request (the
one which was on Exchange while entering multicast) and response from
ENDPOINT1. And doing this in proposed way I will lost request information
(in Exchange in out there will be only response from ENDPOINT1).
--
View
Hi
I think you can just define the route like this.
from(xxx)
.to(ENDPOINT1)
.process(prepare request)
.to(ENDPOINT2)
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com
Christian is right - the multicast EIP is not sutiable here. See for
example the content enricher eip.
On Tue, Aug 6, 2013 at 9:56 PM, mateo mateo.nowi...@gmail.com wrote:
But to create request for ENDPOINT2 I need two things: original request (the
one which was on Exchange while entering