Class JdbcProcessWorkerRunner

java.lang.Object
org.chenile.orchestrator.process.jdbc.JdbcProcessWorkerRunner
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

public class JdbcProcessWorkerRunner extends Object implements org.springframework.boot.CommandLineRunner
Claims and runs JDBC work items. With a database per tenant each cycle visits every tenant named by the TenantSupplier, running as that tenant (TenantScope) so the claim and the work reach its database; a failing tenant is logged and does not stop the others. Without tenants it polls once per cycle, as before.