Annotation Interface Produce


@Retention(RUNTIME) @Documented @Target({FIELD,METHOD}) public @interface Produce
Marks a field or property as being a producer to an Endpoint either via its URI or via the name of the endpoint reference which is then resolved in a registry such as the Spring Application Context.

Methods invoked on the producer object are then converted to a message Exchange via the Bean Integration mechanism.

See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to use bean parameter binding
    Use the field or getter on the bean to provide the uri to produce to
    The uri to produce to
  • Element Details

    • value

      String value
      The uri to produce to
      Default:
      ""
    • property

      String property
      Use the field or getter on the bean to provide the uri to produce to
      Default:
      ""
    • binding

      boolean binding
      Whether to use bean parameter binding
      Default:
      true