Hi Some routes support suspend/resume.
See http://camel.apache.org/lifecycle On Mon, Dec 19, 2011 at 3:59 PM, Tom Howe <[email protected]> wrote: > Hi, > > If we have a route where we are consuming messages and posting to a REST > service which occasionally returns 503 when busy, is there a way to pause > the route for a while so we don't hammer the busy REST service? We also > have other routes in the same Camelcontext that we would not want to pause. > We have tried stopping/starting the route but this seems slow - I suspect > it is starting stopping the underlying thread pools. > > > Thanks, Tom -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
