Example scenario - External caller calls the blueprint and bp has 2 routes.

<route1>
<from uri="triggerURI"/>
<to uri="webserviceURI"/>
<wiretap uri="direct:secondRoute"/>
</route1>

<route2>
<from uri="direct:secondRoute"/>
<log message="Second Route"/>
</route2>

QNS:

1. wiretap send a response(came from the webserviceURI) to external caller
back and call the second route as well - Is my understanding correct?
2. if yes, will we be able to enforce a condition that wiretap should send
response to external caller first and then should proceed with second
route?. If that enforcement is not achievable by wiretap, which pattern
should i use to return response to caller as we as proceed with the next
route?

-Thanks

Reply via email to