nal Message-
> From: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Sent: Wednesday, April 08, 2009 8:39 PM
> To: users@camel.apache.org
> Subject: Re: RE: Multiple consumers getting created in custom endpoint
>
> Hi
>
> I would suggest to use the JDK concurrency stuff for spa
clearing the route list during the stop of the context.
Thanks,
Manish.
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Wednesday, April 08, 2009 8:39 PM
To: users@camel.apache.org
Subject: Re: RE: Multiple consumers getting created in custom endpoint
Hi
I
Hi
I would suggest to use the JDK concurrency stuff for spawning threads.
See for instance the SedaConsumer
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaConsumer.java
On Wed, Apr 8, 2009 at 4:53 PM, wrote:
> I think you should "kill
I think you should "kill" your threads on method doStop() or stop() of your
consumer.
They are invoked when CamelContext is stopped.
Cheers,
Bruno Borges
On Apr 8, 2009 12:38am, Manish K Bafna wrote:
The same is visible in JMS component too.
Steps:
1. Create a route from JMS topic1 to