Annotation Interface BindToRegistry


@Retention(RUNTIME) @Documented @Target({TYPE,FIELD,METHOD}) public @interface BindToRegistry
Used for binding a bean to the registry. This annotation is not supported with camel-spring or camel-spring-boot as they have their own set of annotations for registering beans in spring bean registry. Instead this annotation is intended for Camel standalone such as camel-main or camel-quarkus or similar runtimes. If no name is specified then the bean will have its name auto computed based on the class name, field name, or method name where the annotation is configured.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to perform bean post processing (dependency injection) on the bean
    The name of the bean
  • Element Details

    • value

      String value
      The name of the bean
      Default:
      ""
    • beanPostProcess

      boolean beanPostProcess
      Whether to perform bean post processing (dependency injection) on the bean
      Default:
      false