camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Sclaing camel
Date Fri, 04 Jan 2013 20:16:41 GMT
It depends on the core framework you use (Mina, Netty, ...). Checkout the
documentation, but most of the frameworks let you configure the max. thread
pool size. The other request threads are blocked until they are served. If
the database query doesn't take too long, you can live without a queue...

Best,
Christian

On Fri, Jan 4, 2013 at 6:14 PM, kiranreddykasa <kirankumarrk@fss.co.in>wrote:

> Thanks Christan it helped..
>
> Consider this simple route
>
>  async tcp(1) --->someBean(2)
>
> bean(2) will be accessing database for processing requests,
>
> What if the tcp endpoint gets  10k requests  concurrently and bean(2) cant
> open that many database connections ??
>
> Should i put the requests in queue and then send it to the bean(2) ???
>
>
>
> -----
> Regards
>
> kiran Reddy
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Sclaing-camel-tp5724876p5724924.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message