RoutePolicySupport - Difference between onStart and doStart

2016-06-14 Thread xlogger
I would like to have a Camel Route deploying on multiple servers/docker containers to run in active-standby mode. After some studies, I'm targeting to apply RoutePolicy that leverage "leader election" solutions like etcd and consul. Checked the Camel source code in Github and found that there are

Load Endpoints from XML file

2015-10-29 Thread xlogger
I have followed this link and was able to load route from XML file without restarting CamelContext http://camel.apache.org/loading-routes-from-xml-files.html Here is the route XML that I have tested successfully http://camel.apache.org/schema/spring";> I would like to modify my r

Camel-Metrics component -- is it safe to use in Production?

2015-10-13 Thread xlogger
In the documentation http://camel.apache.org/metrics-component.html, it mentioned that MetricRegistry uses internal thread(s) for reporting. There is no public API in version 3.0.1 for users to clean up on exit. Thus using Camel Metrics Component leads to Java classloader leak and my cause OutOfM

Re: Apache Camel Splitter, Threadpool and JMS

2015-08-01 Thread xlogger
Found the answer finally and posted on Stackoverflow http://stackoverflow.com/a/31738832/1180885 -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Splitter-Threadpool-and-JMS-tp5770128p5770183.html Sent from the Camel - Users mailing list archive at Nabble.com.

Apache Camel Splitter, Threadpool and JMS

2015-07-31 Thread xlogger
I posted the question on stackoverflow 3 days ago but got no response so far... repost here to see if anyone could advice on that. http://stackoverflow.com/questions/31645916/apache-camel-splitter-threadpool-and-jms == I have defined the following route in spring xml to split rows in a

Re: Camel website is not showing the code blocks

2015-06-29 Thread xlogger
Everything looks okay this morning, but then I checked the page again just now and found many alerts prompted up Only JavaDSL code blocks can be shown, SpringDSL code blocks are collapsed Example: http://camel.apache.org/timer.html

Camel website is not showing the code blocks

2015-06-28 Thread xlogger
I tried with a few different browsers on my PC (Firefox, Chrome, and IE..) but found that the code blocks in all the Camel web pages are not displaying properly... it looks like they are all collapsed... It was Okay last week when I browse around E.g. http://camel.apache.org/content-based-router.h