camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huntc <hu...@mac.com>
Subject activemq endpoint and thread pools
Date Mon, 27 Oct 2008 12:52:56 GMT

Hi there,

If I do something like this:


from("activemq:queue:myqueue").thread(2).process(new Processor() {
	public void process(Exchange exchange) throws Exception {
		Thread.sleep(1000);
	}
})...do something else


...then should that mean that I can have two processors processing messages
concurrently?

I ask because it appears that only one thread is being used.

I'm using Camel 1.4. Thanks for any clarification.

Kind regards,
Christopher
-- 
View this message in context: http://www.nabble.com/activemq-endpoint-and-thread-pools-tp20187089s22882p20187089.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message