Example of Threading Policy
Consider an application with the following details:
- Application name:
weatherApp
- Application has two Java components:
weatherComponent1
andweatherComponent2
- Component
weatherComponent1
has exposed service withweatherService1
and reference withweatherReference1
- Threading policies are applied both at component service and component reference
The following combination of properties is possible for this example:
weatherApp.invocationTimeoutInMilliseconds = 300
: modifies timeout values for all references and services in applicationweatherApp
weatherApp.weatherComponent1.invocationTimeoutInMilliseconds = 300
: modifies timeout values for all services and references in componentweatherComponent1
weatherApp.weatherComponent1.reference.invocationTimeoutInMilliseconds = 300
: modifies timeout values for all references in componentweatherComponent1
weatherApp.weatherComponent1.service.invocationTimeoutInMilliseconds = 300
: modifies timeout values for all services in componentweatherComponent1
weatherApp.weatherComponent1.service.weatherService1.invocationTimeoutInMilliseconds = 300
: modifies timeout value for serviceweatherService1
in componentweatherComponent1
weatherApp.weatherComponent1.reference.weatherReference1.invocationTimeoutInMilliseconds = 300
: modifies timeout values for referenceweatherReference1
in componentweatherComponent1