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

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