You may want to use a StaticRoutingSlip (or Splitter) and then connect them using an aggregator. Take a look at the existing aggregator ( http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/SplitAggregator.java?revision=405781&view=markup) which you can modify or use (you can create custom expressions to retrieve the count, index and corrId properties). See http://servicemix.goopen.org/site/servicemix-eip.html
Cheers, Guillaume Nodet On 6/28/06, Alexandre Fradin <[EMAIL PROTECTED]> wrote:
Hi, I use servicemix to connect 3 applications. Application A needs data from applications B and C. Application A sends XML flow to servicemix wich use it to call 2 web services (B and C). I use HttpConnector binding component for A, and SaajBinding for B and C. It works fine if I connect A to B using XSLT translation and RoutingSlip. But I don't know how to create 2 requests, call B and C web services, concat the responses in a single message and return it to A. I can't use XPath Splitter (cause it's a In-Out exchange) to split message in order call B and C. PS : All my apologes for my English. -- View this message in context: http://www.nabble.com/In-out-exchange---XPath-Splitter-%28eip%29-tf1860742.html#a5082081 Sent from the ServiceMix - User forum at Nabble.com.
