Hello All, 
I have simple route which calls another route with pattern InOnly, my
understanding was InOnly fires and forgets and executes the next line in a
route but thats not happening. using camel 2.17.0

<route id="route-one" autoStartup="true">
     <from uri="activemqpe:queue:test"/>
     <to uri="direct:routeTwo" pattern="InOnly"/> 
     <log message="Route One Finished"/>
</route>

<route id="route-two" autoStartup="true">
     <from uri="direct:routeTwo"/>
     <delay>
            <constant>10000</constant>
     </delay>
     <log message="Route Two Finished"/>
</route>


In my understanding output sequence should be like below
Route One Finished
10 sec delay 
Route Two Finished


But actually that's not happening, its happening like below 
10 sec delay 
Route Two Finished
Route One Finished




--
View this message in context: 
http://camel.465427.n5.nabble.com/Pattern-InOnly-should-create-a-new-exchange-thread-tp5794699.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to