* GH-8704: Add global property for `defaultTimeout` Fixes https://github.com/spring-projects/spring-integration/issues/8704 The default timeout for requests and replies in the integration endpoints is 30 seconds to avoid indefinite blocking in threads. Sometime those 30 seconds is not enough. * Introduce a `spring.integration.endpoints.defaultTimeout` global property to allow overriding all the timeouts to desired value. The negative number indicates an indefinite waiting time: similar to what was there before introducing 30 seconds by default * Fix language in docs Co-authored-by: Gary Russell <grussell@vmware.com> --------- Co-authored-by: Gary Russell <grussell@vmware.com>
8 lines
395 B
Properties
8 lines
395 B
Properties
#spring.integration.channels.autoCreate=false
|
|
#spring.integration.channels.maxUnicastSubscribers=1
|
|
#spring.integration.channels.maxBroadcastSubscribers=1
|
|
spring.integration.taskScheduler.poolSize=20
|
|
spring.integration.messagingTemplate.throwExceptionOnLateReply=true
|
|
spring.integration.endpoints.noAutoStartup=fooService*,stringSupplierEndpoint
|
|
spring.integration.endpoints.defaultTimeout=45000
|