One thing that has always eluded me is how to specify that something be done immediately upon the CamelContext having started up.
For example, I have a Quartz based service that executes every hour at 10 minutes past the hour. However when the CamelContext starts up I'd like this service to be invoked immediately and then go into its scheduling behaviour. This is so that other consumers of the services I provide can get their data immediately without having to wait up to an hour given service startup. Firstly it'd be great if there was an option on the Quartz component to always fire off an initial event. However in general terms it'd be great to have the ability to specify that a route is invoked upon the CamelContext having been established (with all of its routes configured within the current RouterBuilder). Perhaps RouteBuilder needs a new overide-able method that is invoked in this situation. Incidentally I see many references to from("direct:start") throughout the doco and examples, but no idea of how this route is invoked. Thanks for any help in unwinding my confusion. -- View this message in context: http://old.nabble.com/Startup-invocation-of-a-route-tp26949232p26949232.html Sent from the Camel - Users mailing list archive at Nabble.com.