Read the documentation See request/reply over JMS http://camel.apache.org/jms
On Wed, May 4, 2011 at 2:21 PM, Muhammad Ichsan <ich...@gmail.com> wrote: > On Wed, May 4, 2011 at 6:27 PM, Muhammad Ichsan <ich...@gmail.com> wrote: >> 2011/5/4 Claus Ibsen <claus.ib...@gmail.com>: >>> Hi >>> > > > It's still in sequence manner, even for this code: > > ExecutorService executor = Executors.newFixedThreadPool(10); > > // When: 18 messages are sent > for (int i = 0; i < messageAmount; i++) { > executor.execute(new Runnable() { > @Override > public void run() { > > template.asyncSendBody("direct:casemx", "Hello" + next()); > } > }); > > } > > So, what your suggestion? > > -- > ~The best men are men who benefit to others > http://michsan.web.id 一緒に勉強しましょう! > > Yang berkualitas memang beda rasanya! > http://rizqi-cookies.com > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/