Annotation Type Topic


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

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

      • value

        @AliasFor(annotation=io.micronaut.messaging.annotation.MessageMapping.class,
                  member="value")
        java.lang.String[] value
        Returns:
        The topics to subscribe to
        Default:
        {}