This article explains how to implement handling and validation of common parameter into the Policy Framework Components using Spring boot framework.
Table of Contents |
---|
Environment
A component can use org.springframework.core.env.Environment component directly.
...
The code below shows how to inject a value of a property into @Schedule @Scheduled configuration.
Code Block | ||
---|---|---|
| ||
@Scheduled( fixedRateString = "${runtime.participantParameters.heartBeatMs}", initialDelayString = "${runtime.participantParameters.heartBeatMs}") public void schedule() { } |
...