Annotation Type Topic


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,PARAMETER,TYPE})
    @Repeatable(Topics.class)
    public @interface Topic
    An annotation used to specify a topic name.
    Since:
    3.0
    Author:
    Vaso Putica
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Name of the topic to subscribe to.
    • Element Detail

      • value

        java.lang.String value
        Name of the topic to subscribe to.
        Returns:
        The topic to subscribe to
        Default:
        ""