Annotation Interface EndpointInject


@Retention(RUNTIME) @Documented @Target({FIELD,METHOD}) public @interface EndpointInject
Used to indicate an injection point of an Endpoint, Producer or ProducerTemplate into a POJO. A URI for an endpoint can be specified on this annotation, or a name can be specified which is resolved in the Registry such as in your Spring ApplicationContext. If no ref or uri is specified then the ref is defaulted from the field, property or method name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Use the field or getter on the bean to provide the uri of the endpoint
    The uri of the endpoint
  • Element Details

    • value

      String value
      The uri of the endpoint
      Default:
      ""
    • property

      String property
      Use the field or getter on the bean to provide the uri of the endpoint
      Default:
      ""