This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 206a0c47e18 CAMEL-22468: camel-bean - Bean cache should initialize
later
206a0c47e18 is described below
commit 206a0c47e18bf86ca04b38aa4ac4490126b50642
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Sep 30 07:54:31 2025 +0200
CAMEL-22468: camel-bean - Bean cache should initialize later
---
.../src/main/java/org/apache/camel/component/bean/BeanComponent.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanComponent.java
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanComponent.java
index b05ee04b8fe..38c162350d2 100644
---
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanComponent.java
+++
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanComponent.java
@@ -59,8 +59,8 @@ public class BeanComponent extends DefaultComponent {
}
@Override
- protected void doInit() throws Exception {
- super.doInit();
+ protected void doStart() throws Exception {
+ super.doStart();
if (beanInfoCache == null && beanInfoCacheSize > 0) {
LOG.debug("Creating BeanInfo with maximum cache size: {}",
beanInfoCacheSize);