Annotation Type Consume

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String predicate
      Optional predicate (using simple language) to only consume if the predicate matches .
      String property
      Use the field or getter on the bean to provide the uri to consume from
      String uri
      Deprecated.
      use value instead
      String value
      The uri to consume from
    • Element Detail

      • value

        String value
        The uri to consume from
        Default:
        ""
      • uri

        @Deprecated
        String uri
        Deprecated.
        use value instead
        The uri to consume from
        Default:
        ""
      • property

        String property
        Use the field or getter on the bean to provide the uri to consume from
        Default:
        ""
      • predicate

        String predicate
        Optional predicate (using simple language) to only consume if the predicate matches . This can be used to filter messages.

        Notice that only the first method that matches the predicate will be used. And if no predicate matches then the message is dropped.

        Default:
        ""