2011/5/4 Claus Ibsen <claus.ib...@gmail.com>: > Hi > > Its a bit hard to follow your question? > > Concurrency all starts with consumers. So if you have a single thread > that sends a message to "direct:casemx" then there is only a single > thread processing in that given route.
This is how I send the message: for (int i = 0; i < messageAmount; i++) { template.asyncSendBody("direct:casemx", "Hello" + i); } My question is, why 5 invocations of delay1000 takes only (more or less) 1 seconds, meanwhile delay2000 takes 10 seconds (5 * 2000ms)? -- ~The best men are men who benefit to others http://michsan.web.id 一緒に勉強しましょう! Yang berkualitas memang beda rasanya! http://rizqi-cookies.com