No, look at [1] for it's complete documentation.
[1] http://camel.apache.org/pojo-consuming.html
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/Pausing-Routes-tp5086372p5089207.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Does @consume not create an underlying route ?
On Tue, Dec 20, 2011 at 3:13 PM, Claus Ibsen wrote:
> On Tue, Dec 20, 2011 at 4:08 PM, Tom Howe wrote:
> > Hi Claus,
> > Why is graceful shutdown important for suspend/resume?
> >
> > I think this is what I need..
> > myCamelContext.suspendRout
On Tue, Dec 20, 2011 at 4:08 PM, Tom Howe wrote:
> Hi Claus,
> Why is graceful shutdown important for suspend/resume?
>
> I think this is what I need..
> myCamelContext.suspendRoute("routeId");
> myCamelContext.resumeRoute("routeId");
>
Yes use that API
> We are using @consume, is there a wa
Hi Claus,
Why is graceful shutdown important for suspend/resume?
I think this is what I need..
myCamelContext.suspendRoute("routeId");
myCamelContext.resumeRoute("routeId");
We are using @consume, is there a way to specify routeId when using
@consume? or a way to call suspendRoute from @con
On Tue, Dec 20, 2011 at 3:53 PM, Tom Howe wrote:
> Thanks, is there an example of how to suspend a route?
>
You can use JMX, for example the examples/camel-example-management
The API on CamelContext should have methods to suspend/resume routes.
And this is the API you should use,
as they use th
Thanks, is there an example of how to suspend a route?
On Mon, Dec 19, 2011 at 3:52 PM, Claus Ibsen wrote:
> Hi
>
> Some routes support suspend/resume.
>
> See
> http://camel.apache.org/lifecycle
>
> On Mon, Dec 19, 2011 at 3:59 PM, Tom Howe wrote:
> > Hi,
> >
> > If we have a route where we a
Hi
Some routes support suspend/resume.
See
http://camel.apache.org/lifecycle
On Mon, Dec 19, 2011 at 3:59 PM, Tom Howe 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 rout
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.