camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dudgeon <>
Subject routing slip with InOut pattern
Date Thu, 18 Jun 2015 17:27:29 GMT
Is is possible to use routing slip so that it always waits for response?
For instance if the routing slip specifies a seda route then it seems to 
execute asynchronously and the routing slip returns immediately.
If instead I route to a direct endpoint it waits as desired, but that 
direct route is blocked and won't take any more messages until complete.
For example:

   .log("routing finished");

   .log("hello from route A");

   .log("hello from route B");

I want to send message to seda:start with routing slip header that 
specifies seda:routeB but I want to see "hello from route B" before I 
see "routing finished".


View raw message