Package org.apache.camel
Annotation Type 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
beanPostProcess
Whether to perform bean post processing (dependency injection) on the beanString
value
The name of the bean
-
-
-
Element Detail
-
value
String value
The name of the bean- Default:
- ""
-
-