Re: Multiple consumers getting created in custom endpoint

2009-04-20 Thread Willem Jiang
>> -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 >> >>

Re: Multiple consumers getting created in custom endpoint

2009-04-09 Thread Willem Jiang
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

Re: RE: Multiple consumers getting created in custom endpoint

2009-04-09 Thread Claus Ibsen
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

RE: RE: Multiple consumers getting created in custom endpoint

2009-04-08 Thread Manish K Bafna
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

Re: RE: Multiple consumers getting created in custom endpoint

2009-04-08 Thread Claus Ibsen
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, >

Re: RE: Multiple consumers getting created in custom endpoint

2009-04-08 Thread bruno . borges
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

RE: Multiple consumers getting created in custom endpoint

2009-04-07 Thread Manish K Bafna
: 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

Multiple consumers getting created in custom endpoint

2009-04-07 Thread Manish K Bafna
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