byThreadStrategy
Description
Can be used in
spring:beans, balancer and bean
Syntax
<byThreadStrategy maxNumberOfThreadsPerEndpoint="integer" retryTimeOnBusy="integer" />
Listing 1: byThreadStrategy Syntax
Sample
<serviceProxy port="2001"> <balancer> <byThreadStrategy maxNumberOfThreadsPerEndpoint="10" retryTimeOnBusy="1000" /> </balancer> </serviceProxy>
Listing 2: byThreadStrategy Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
maxNumberOfThreadsPerEndpoint | false | - | Maximum number of concurrently running requests per endpoint. | |
retryTimeOnBusy | false | - |