camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Persisting route details..
Date Sat, 26 Jan 2013 10:23:01 GMT
On Fri, Jan 25, 2013 at 4:56 PM, Vishal Changrani
<> wrote:
> Hi,
> There are a couple of use-cases that I want to address -
> 1. Persisting all routes last start-time and end-time somehow so that on the application
server startup routes do not start if they have just recently ran and also to report route

You can look at the event notifier API it has events for routes
starting | stopping. etc
Or the JMX management API etc.

> 2.Modifying the routes such that the changes don't take effect untill the current exchange

There is JMX API for knowing the number of in-flight exchanges.
Or the API from

The in-flight registry is used by Camel itself when it graceful shutdown etc

> Can anyone share their insights if they have done something similar?
> I have Camel running in Jboss with Oracle at the backend. I was thinking of creating
a table - route_status to persist all this information but was wondering if there is a better
> Thanks,
> V

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message