You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by L F <l8...@yahoo.com.INVALID> on 2016/06/15 11:47:32 UTC
Camel ActiveMQ error on long processing
Hello all,
I have a camel route (route1) which has as entry point a cxf webservice. The camel route (route1) calls an another route (route2), which has a long processing step (let's call it delay - which takes more than 30s).
1. route1 -> seda->route2 (delay 40s) - works as expected, and the webservice waits until the routes are completed.2. route1 ->activemq queue -> route2 (delay 40s) - throws an exception after 30s, sends back an error response, but route is executed, even after the exception
In both cases, the <to> operation timeout is configured to be more than 40s needed in the camel step. I attached a sample process.
Questions : why i get the exception in second case, and what can i do to have my webservice call wait for entire processing of the camel route?
- Karaf 4.0.4- camel 2.16.1- cxf 3.1.4- activemq 5.13.1
ThanksLAji