Question regarding SEDA & threadpool

2012-07-24 Thread wantastic
Hello all, I am a beginner of Camel and trying to figure out how to create route properly. What I'm trying to do is pretty simple. I have a JMS queue listener which takes message one by one. Then this message will be logged by WireTap and gets thrown into a threadpool(a pool of worker threads) to

Camel SEDA queue size not setting up

2012-07-25 Thread wantastic
Hello all, I set up the seda endpoint and tried to monitor the status. However, when I look at the seda endpoint with jConsole, I see that the size and blockWhenFull is not set up. Is this a known bug or am I doing something wrong? Screenshot: http://camel.465427.n5.nabble.com/file/n5716474/se

Re: Question regarding SEDA & threadpool

2012-07-25 Thread wantastic
Christian, Thank you for your feedback. Unfortunately, I am not able to use concurrentConsumer because the queue is exclusive and only allow one consumer. Do you see any other way to use the model that I explained above, which has one consumer distributing messages to other worker threads to proces

Re: Camel SEDA queue size not setting up

2012-07-26 Thread wantastic
Babak, It seems to be working now! Thank you so much for your response. Wan -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SEDA-queue-size-not-setting-up-tp5716474p5716515.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Question regarding SEDA & threadpool

2012-07-26 Thread wantastic
Thank you Willem, I have looked into the throttler and it is very useful. I will investigate further to see how I can make use of it. Thank you, Wan -- View this message in context: http://camel.465427.n5.nabble.com/Question-regarding-SEDA-threadpool-tp5716431p5716534.html Sent from the Camel

Camel Graceful Shutdown not flushing Seda queue

2012-07-26 Thread wantastic
Hello all, I have been trying to see how I can gracefully shutdown the process in case of emergency. Here are the routes: ${in.header.errors} != null

Camel JMS client_acknowledge mode

2012-10-10 Thread wantastic
Hello all, I am trying to use the client_acknowledge mode instead of using transacted mode. My route looks like this: com.my.exception.Exception I know that if the message gets processed completely by the route, the ack will be sent to the queue.

Re: Camel JMS client_acknowledge mode

2012-10-10 Thread wantastic
Hello Raul, Thank you for your feedback. I tried putting the into the exception handler, but it still sent the ack to the queue and the message was removed from the queue. com.my.exception.Exception false false If Camel finis