Thanks. This did the trick. I was not aware of this.
于 2014/2/26 17:24, Claus Ibsen 写道:
activemq extends the jms component, so it has all the options from jms too.
> I implemented this but I'm facing severe performance problem.
Where exactly is your performance bottleneck? Increase the logging
level to TRACE and track the particular exchange so see which part of
the route takes too much time to complete.
Cheers.
--
Henryk Konsek
http://henryk-konsek.blogs
On Wed, Feb 26, 2014 at 10:04 AM, Rural Hunter wrote:
> It's an activemq queue with url like this:
>
> NEW_QUEUE=activemq:queue:new_queue
>
> I use activemq comp instead of jms comp as suggested by the doc. Is there
> similar option for activemq comp? or I should use jms comp?
>
activemq extends
It's an activemq queue with url like this:
NEW_QUEUE=activemq:queue:new_queue
I use activemq comp instead of jms comp as suggested by the doc. Is there
similar option for activemq comp? or I should use jms comp?
于 2014/2/26 14:57, Claus Ibsen 写道:
is NEW_QUEUE a jms queue? If so you can use co
is NEW_QUEUE a jms queue? If so you can use concurrentConsumers /
maxConcurrentConsumers for concurrency. And see also the asyncConsumer
option.
Read this page, about these options, and check also for concurrency
http://camel.apache.org/jms
On Wed, Feb 26, 2014 at 7:39 AM, Rural Hunter wrote:
Hi,
I implemented this but I'm facing severe performance problem. My legacy
application handles this by separated threads and the performance is
more than 10 times of my Camel application. I don't know if it's my
Camel application problem or it's the problem of Camel. Here the detail
of my ap
Good idea, will try that. Thanks a lot!
于 2014/2/21 17:18, Henryk Konsek 写道:
Hi,
The main problem is on my processors threading model. I read the doc and it
describes that most processors should be singleton. But in my case my
processor can not be singleton because it depends on some non-threa
Hi,
> The main problem is on my processors threading model. I read the doc and it
> describes that most processors should be singleton. But in my case my
> processor can not be singleton because it depends on some non-thread-safe
> complicate calculation libraries.
You can use ThreadLocal to cach
> I had thought about the possible solutions for this and got 2 ideas:
> 1. create several rows of processors and store the rows in some kind of
> pool. For each data I pick up one row and process it through the
> processes in the that row.
> 2. create different pools for different type of processo
Hi,
I have a Camel application design question. My requirement is as following:
1. The data source is from an activemq queue
2. the data is processed by serveral different processors in a row
3. the data is stored in database finally.
The main problem is on my processors threading model. I read
10 matches
Mail list logo