Re: Camel JMS component tied to Spring framework - bad news

2010-10-12 Thread Christian Schneider
Hi Madhav, while it is a shame that you can´t use JmsTemplate and JmsMessagListener without adding half of the spring jars to your project it does not force you to use spring for dependency injection. So you are not very much tied to spring. Btw. I am using spring on osgi and it works like a

Immutable object

2010-10-12 Thread Muhammad Ichsan
Dear Camel Experts I have an object which becomes the main message to be transported across camel routes. So, I don't use String or other simple object. That's why I have to use converter. @Converter public class InternalMessageConverter { @Converter public static InputStream toT

[REMINDER][ANN] Apache Camel Survey (we need your help!)

2010-10-12 Thread Hadrian Zbarcea
Many thanks to all who participated in the survey, we had great participation so far. For those who did not yet take the survey [1] please do so now, we want to hear your opinion! The Apache Camel PMC [1] http://s.apache.org/camel-survey On Oct 5, 2010, at 11:34 AM, Hadrian Zbarcea wrote: >

Re: ThreadPoolExecutor configuration

2010-10-12 Thread serega
Claus Ibsen-2 wrote: > > Hi > > The problem is that you are using 0 as the pool size. > .threads(0) > > If you use 1 or larger it should work > Yes. I tried with threads(1) and it worked. But if I use pool size greater then 0, I cannot get SynchronousQueue. http://svn.apache.org/viewvc/c

Getting Thread number on concurrent consumers , threads

2010-10-12 Thread Sri
Hello, I am using concurrent consumers to process the messages from active mq and I wanted to get the thread number to debug which thread is processing which message. is there any way that I can get the thread number from the processor. I am using the route in the following way. from("jms-t

Re: ThreadPoolExecutor configuration

2010-10-12 Thread Claus Ibsen
Yeah wait for Camel 2.5 then On Tue, Oct 12, 2010 at 3:54 PM, serega wrote: > > > Claus Ibsen-2 wrote: >> >> Hi >> >> The problem is that you are using 0 as the pool size. >>     .threads(0) >> >> If you use 1 or larger it should work >> > Yes. I tried with threads(1) and it worked. > But if I us

Re: Getting Thread number on concurrent consumers , threads

2010-10-12 Thread Claus Ibsen
The concurrentConsumers on the JMS is for Spring JMS stuff. So you are in the mersey how they assign thread names in that thread pool using by spring JMS. You may be able to hook a custom thread pool in Spring JMS using the taskExecutor option. And why do you have a threads in the route as well? Y

Does Gracefull shutdown Mbean support waiting time argument?

2010-10-12 Thread ext2
Hi: Camel support graceful shutdown feature. When the camelContext is stopped, camel will try to stop application gracefully until the time expired; Some-times the system manager may required to try to stop the application , and if the application cannot be stopped in time, the s

Can I configure sync or asynchronous for individual processor in spring?

2010-10-12 Thread ext2
Can I configure sync or asynchronous for individual processor in spring? If so , I could separate the CPU-cost actions and IO-Cost actions in different thread more clearly;