Annotation Interface ActivityMethod
Indicates that the method is an Activity method. This annotation applies only to Activity
interface methods. Use it to override default Activity type name. Not required.
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameRepresents the name of the Activity type. Default value is the method's name, with the first letter capitalized. Also consider usingActivityInterface.namePrefix(). The prefix is ignored if the name is specified.Be careful with names that contain special characters, as these names can be used as metric tags. Systems like Prometheus ignore metrics which have tags with unsupported characters.
Name cannot start with __temporal_ as it is reserved for internal use.
- Default:
""
-