Re: Camel route stop consuming

2013-08-05 Thread jaime.salvador
Hi, Nice to see a reply by you (I have a paper copy of Camel in Action, great book!) The delay(500) is for spam prevention, having to much mails sends in a second the server is considerd a spam and is blocked. My route work as a massive mail sender that load balance the work to 50 mails

Re: Camel route stop consuming

2013-08-04 Thread jaime.salvador
Thanks for you reply, this is my routes String dd[] = { direct:mail01, direct:mail02 ... direct:mail50 }; from(activemq:mail?concurrentConsumers=15) .delay( 500 ) .loadBalance( ) .roundRobin( ) .to(dd);