Annotation Interface WorkflowImpl


@Retention(RUNTIME) @Target(TYPE) public @interface WorkflowImpl
Enables the Workflow implementation class to be discovered by the Workers auto-discovery. This annotation is not needed if only an explicit config is used.
  • Element Details

    • workers

      String[] workers
      Returns:
      names of Workers to register this workflow implementation with. Workers with these names must be present in the application config or auto-discovered from taskQueues(). Worker is named by its task queue if its name is not specified.
      Default:
      {}
    • taskQueues

      String[] taskQueues
      Returns:
      Worker Task Queues to register this workflow implementation with. If Worker with the specified Task Queue is not defined in the application config, it will be created with a default config. Can be specified by a property key, e.g.: ${propertyKey}.
      Default:
      {}