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

[camel] 04/04: CAMEL-14690 - Fixed logging for DDB

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

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

commit 9e93c6226ef4d38601a712224d700006c8bd16bf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 11 11:39:30 2020 +0100

    CAMEL-14690 - Fixed logging for DDB
---
 .../java/org/apache/camel/component/aws2/ddb/Ddb2Component.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Component.java b/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Component.java
index 0316189..a84b652 100644
--- a/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Component.java
+++ b/components/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/Ddb2Component.java
@@ -78,16 +78,16 @@ public class Ddb2Component extends DefaultComponent {
 
     private void checkAndSetRegistryClient(Ddb2Configuration configuration, Ddb2Endpoint endpoint) {
         if (ObjectHelper.isEmpty(endpoint.getConfiguration().getAmazonDDBClient())) {
-            LOG.debug("Looking for an CloudWatchClient instance in the registry");
+            LOG.debug("Looking for an DynamoDbClient instance in the registry");
             Set<DynamoDbClient> clients = getCamelContext().getRegistry().findByType(DynamoDbClient.class);
             if (clients.size() == 1) {
-                LOG.debug("Found exactly one CloudWatchClient instance in the registry");
+                LOG.debug("Found exactly one DynamoDbClient instance in the registry");
                 configuration.setAmazonDDBClient(clients.stream().findFirst().get());
             } else {
-                LOG.debug("No CloudWatchClient instance in the registry");
+                LOG.debug("No DynamoDbClient instance in the registry");
             }
         } else {
-            LOG.debug("CloudWatchClient instance is already set at endpoint level: skipping the check in the registry");
+            LOG.debug("DynamoDbClient instance is already set at endpoint level: skipping the check in the registry");
         }
     }
 }