Register workflows dynamically with Spring Configuration and not from yaml

Hi team,
I am using temporal-spring-boot for workflows scenarios. I am hosting all workflows in one repository but want to spawn dynamic workers by passing argument which queues to host on this worker through docker command.

How can i spawn workers dynamically from spring-boot-configuration and not from yaml.

Hi @mainak_sethi

You can customise the worker options with a bean that implements io.temporal.spring.boot.TemporalOptionsCustomizer , see:

Let us know if it helps,

Antonio

Thanks @antonio.perez. This helps.