I think what we need is a "callout" mediator .. i.e. one that send the
'current' message to another service, and waits for it to reply and then
replaces the 'current' message with the response received. This can be
written fairly easily and I think would be the best option..
Note that when using a normal send out using Synapse, the thread returns
before the actual call completes.. i.e. since the HTTP sender is
non-blocking. Thus unless you clone your message, you might corrupt your
message with both responses being received over to the same original
message.. So I'd say the former approach of using a mediator would be
best and simplest to understand.. if you think so, please raise an
enhancement JIRA and we could address it as soon as we get a chance
asankha
depstei2 wrote:
Hello, Is there a way to route the output of one service as the input of
another, and then return the result to the client? I am trying to create an
example of the Message Slip Pattern where a message gets set through a chain
of services. Is this possible? Is it also possible to send one message to
multiple endpoints?(such as the wiretap eip)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]