You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/11/13 09:04:52 UTC

[camel] branch master updated: CAMEL-15836: Automatic autowire by type - Specify which options support this

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 52e7391  CAMEL-15836: Automatic autowire by type - Specify which options support this
52e7391 is described below

commit 52e7391f96b6f818054be47520948d05c92c5cd5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Nov 13 09:57:35 2020 +0100

    CAMEL-15836: Automatic autowire by type - Specify which options support this
---
 .../java/org/apache/camel/impl/engine/AutowiredLifecycleStrategy.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AutowiredLifecycleStrategy.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AutowiredLifecycleStrategy.java
index d0aecde..1a2956a 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AutowiredLifecycleStrategy.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AutowiredLifecycleStrategy.java
@@ -87,8 +87,8 @@ class AutowiredLifecycleStrategy extends LifecycleStrategySupport {
                             boolean hit = pc.configure(camelContext, target, option, value, true);
                             if (hit) {
                                 LOG.info(
-                                        "Autowired property: {} on {}: {} as exactly one instance of type: {} found in the registry",
-                                        option, kind, name, type.getName());
+                                        "Autowired property: {} on {}: {} as exactly one instance of type: {} ({}) found in the registry",
+                                        option, kind, name, type.getName(), value.getClass().getName());
                             }
                         }
                     }