orpiske commented on code in PR #8264:
URL: https://github.com/apache/camel/pull/8264#discussion_r961481597


##########
components/camel-jpa/src/main/java/org/apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java:
##########
@@ -173,8 +169,8 @@ public Boolean doInTransaction(TransactionStatus status) {
             }
         });
 
-        LOG.debug("contains {} -> {}", messageId, rc);
-        return rc;
+        LOG.debug("contains {} -> {}", messageId, rc[0]);

Review Comment:
   Same note for this log message.



##########
components/camel-jpa/src/main/java/org/apache/camel/processor/idempotent/jpa/JpaMessageIdRepository.java:
##########
@@ -130,8 +125,8 @@ public Boolean doInTransaction(TransactionStatus status) {
             }
         });
 
-        LOG.debug("add {} -> {}", messageId, rc);
-        return rc;
+        LOG.debug("add {} -> {}", messageId, rc[0]);

Review Comment:
   Maybe it would be a good opportunity to improve this log message. It's not 
very clear what information it is trying to convey.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to