Bean
JVM since0.1.0 Native since0.1.0
Invoke methods of Java beans
What’s inside
-
Bean component, URI syntax:
bean:beanName
-
Class component, URI syntax:
class:beanName
Please refer to the above links for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-bean</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Usage
Except for invoking methods of beans available in Camel registry, Bean component and Bean method language can also invoke Quarkus CDI beans. For more details, please refer to the CDI and the Camel Bean component section of the User guide.