I need to use method parameters as part of the lock name.
@SchedulerLock(name = "my-job-#{tenantId}-#{date}")
public void job(UUID tenantId, LocalDate date) {
}
I need to use method parameters as part of the lock name.
@SchedulerLock(name = "my-job-#{tenantId}-#{date}")
public void job(UUID tenantId, LocalDate date) {
}
Copyright © 2021 Jogjafile Inc.
If you use an updated library the correct syntax is: