File endpoint getting actual filename ${file:nameonly}

2012-03-14 Thread chrislovecnm
How do I access the file name? I have tried accessing the headers which gets me ${file:nameonly} but not the file name itself. How do I evaluate this? Here is my route: from("file:///u01/www/images/nonprofits-test?move=.done&preMove=.processing&filter=#nonpFileFilter&minDepth=2&recursive=true"

Re: choose action based on Number range ....

2012-03-14 Thread chrislovecnm
Take a look at http://camel.apache.org/message-router.html ... you could do a content based router to different endpoints. -- View this message in context: http://camel.465427.n5.nabble.com/choose-action-based-on-Number-range-tp5564787p5565348.html Sent from the Camel - Users mailing list archive

Tomcat JDK 1.6 Recommend Memory Settings

2012-03-22 Thread chrislovecnm
Hi all We are running these setting in production right now. JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -server -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+UseCompressedOops -Xss1024K -XX:NewSize=512m -XX:+CMSIncrementalMode -XX:CMSInitiatingOccu

Can't I do this with a filter?

2012-04-06 Thread chrislovecnm
Hi all I am doing this .choice() .when().method(RedisService.class, "isLsaHtmlDuplicateBody").to("mock:nowhere") .otherwise().to("activemq:getAndStoreHTMLPage?concurrentConsumers=30&asyncConsumer=true"); I tried using a filter first, but I seemed to still be getting data.