Terry Cox wrote: >> So if you let the thread pool define the mnumber of connections you >> wouldn't get a hang and would not lose any messages. Am I right? > > > Not necessarily. What you are doing in that situation is directly > coupling the number of internal threads with the number of external > connections, leaving the machine vulnerable to overload from external > influences. > > You need to be able to ensure that the system can be configured to start > refusing external connections before it reaches the point at which it > starts to load up heavily, allowing you to continue processing and > recover gracefully rather than failing catastrophically. > This solution is intended for the provider site not for the consumer site. So what I mean is to limit the outgoing connections from servicemix (for example to an external web service) over the provider endpoint with the thread limit. It doesn't depend on the consumer site. Do you know what I mean or did I get something wrong?
Thomas -- Thomas Termin _______________________________ blue elephant systems GmbH Wollgrasweg 49 D-70599 Stuttgart Tel : (+49) 0711 - 45 10 17 676 Fax : (+49) 0711 - 45 10 17 573 WWW : http://www.blue-elephant-systems.com Email : [EMAIL PROTECTED] blue elephant systems GmbH Firmensitz : Wollgrasweg 49, D-70599 Stuttgart Registergericht : Amtsgericht Stuttgart, HRB 24106 Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle