>> -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
>>
>>
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 spawning threads.
>
> See for instance the SedaConsumer
> https://svn.apache.org/repos/asf
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
inal Message-
>
>> From: Manish K Bafna
>
>> Sent: Tuesday, April 07, 2009 6:45 PM
>
>> To: camel-u...@activemq. apache. org (camel-u...@activemq.apache.org)
>
>> Subject: Multiple consumers getting created in custom endpoint
>
>
>
>> Hi,
>
ly 1.
9. Repeat the above steps and the number increases.
Thanks,
Manish.
-Original Message-
From: Manish K Bafna
Sent: Tuesday, April 07, 2009 6:45 PM
To: camel-u...@activemq. apache. org (camel-u...@activemq.apache.org)
Subject: Multiple consumers getting created
: Multiple consumers getting created in custom endpoint
Hi,
I am creating my own custom endpoint using Camel 1.5
public class AbcEndpoint extends DefaultEndpoint {
public Consumer createConsumer(Processor processor) throws Exception {
Consumer c=new AbcConsumer(this,processor
Hi,
I am creating my own custom endpoint using Camel 1.5
public class AbcEndpoint extends DefaultEndpoint {
public Consumer createConsumer(Processor processor) throws Exception {
Consumer c=new AbcConsumer(this,processor);
return c;
}
.
}
public class AbcConsumer