Annotation Type 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.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] taskQueues  
      java.lang.String[] workers  
    • Element Detail

      • workers

        java.lang.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

        java.lang.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:
        {}