Re: API to determine the last time a route was successfully executed

2013-10-16 Thread saltnlight5
Hi, Camel can expose itself onto a MBeanServer, and that's how you see them in jconsole. You can get to the MBeanServer through camelContext.getManagementStrategy().getManagementAgent().getMBeanServer(). Once you have that, you can use the standard MBeanServer API to query any of those mbean you s

Re: Add new route runtime

2013-10-16 Thread saltnlight5
Hi, Sounds like you might want to try running Camel on an OSGI container. OSGI let you managing jar and dependency without reloading, and each container has it's own way of managing it. You would be happy to know that all Camel artifacts are OSGI ready. You may read more information here: http://c

Re: Parallel processing of big file

2013-08-16 Thread saltnlight5
I didn't see you have ".parallelProcessing()" after the split() as part of your route? -- View this message in context: http://camel.465427.n5.nabble.com/Parallel-processing-of-big-file-tp5737386p5737428.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Flatpack and aggregation

2013-08-06 Thread saltnlight5
Hello Tom, I think you can try flatpack with one of the idempotent consumer (http://camel.apache.org/idempotent-consumer.html) to eliminate duplicated messages. For example, maybe something like this: from("file:inbox") .to("flatpack:fixed:yourdata.pzmap.xml") .filter(header("action_id"

How is the QuartzEndpoint's LoadBalancer work?

2013-07-26 Thread saltnlight5
Hi there, In the QuartzEndpoint.java code, it has a built-in LoadBalancer member to store each new QuartzConsumer created. Can someone show me how this is used in practice? How is this different than using the Camel configurable loadbalance() as stated in http://camel.apache.org/load-balancer.html

Re: FileAsyncStressReadLockLockFileTest and maxMessagePerPoll. picking twice

2013-07-03 Thread saltnlight5
It works for me when I use "preMove" into a staging folder first. Try this: from("file:target/filestress?maxMessagesPerPoll=50&preMove=processing&move=archive") -- View this message in context: http://camel.465427.n5.nabble.com/FileAsyncStressReadLockLockFileTest-and-maxMessagePerPoll-tp5735

camel 2.3.0 failed to download

2010-06-17 Thread saltnlight5
When I try any of the mirror link for download, it shows 404 Not Found error. Turns out the path seems to be wrong. It points to activemq instead of camel. Example link download pages displayed: http://apache.osuosl.org/activemq/apache-camel/2.3.0/apache-camel-2.3.0.tar.gz it should be: http://