byThreadStrategy


Can be used in:

balancer and bean

Syntax

byThreadStrategy maxNumberOfThreadsPerEndpoint="integer" retryTimeOnBusy="integer" />

Sample

<serviceProxy port="2001">
  <balancer>
    <byThreadStrategy maxNumberOfThreadsPerEndpoint="10" retryTimeOnBusy="1000" />
  </balancer>
</serviceProxy>

Attributes

NameRequiredDefaultDescriptionExample
retryTimeOnBusy false - - -
maxNumberOfThreadsPerEndpoint false - Maximum number of concurrently running requests per endpoint. -