Annotation Type Filter


  • @Retention(RUNTIME)
    @Target(ANNOTATION_TYPE)
    public @interface Filter
    The filter annotation is used to add filters to message listeners. It references a class that implements the IMessageFilter interface. The filter will be used to check whether a message should be delivered to the listener or not.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends IMessageFilter> value
      The class that implements the filter.
    • Element Detail

      • value

        java.lang.Class<? extends IMessageFilter> value
        The class that implements the filter. IMPORTANT: A filter always needs to provide a non-arg constructor