Annotation Interface ActivityImpl


@Retention(RUNTIME) @Target(TYPE) public @interface ActivityImpl
Enables the Activity bean 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 activity bean with. Workers with these names must be present in the application config. Worker is named by its task queue if its name is not specified.
      Default:
      {}
    • taskQueues

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