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 2018/07/13 06:21:15 UTC
[camel] branch master updated: CAMEL-12643: Polished
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 10227c4 CAMEL-12643: Polished
10227c4 is described below
commit 10227c4dd05e94a798bd56131040f59c3cf7c584
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jul 13 08:21:05 2018 +0200
CAMEL-12643: Polished
---
.../main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java
index e6a0729..c916ec7 100644
--- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java
+++ b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java
@@ -268,7 +268,9 @@ class RabbitConsumer implements com.rabbitmq.client.Consumer {
reconnect();
connected = true;
} catch (IOException | TimeoutException e) {
- log.warn("Unable to obtain a RabbitMQ channel. Will try again." + " Caused by: " + e.getMessage());
+ log.warn("Unable to obtain a RabbitMQ channel. Will try again. Caused by: " + e.getMessage() + ". Stacktrace logged at DEBUG logging level.");
+ // include stacktrace in DEBUG logging
+ log.debug(e.getMessage(), e);
Integer networkRecoveryInterval = consumer.getEndpoint().getNetworkRecoveryInterval();
final long connectionRetryInterval = networkRecoveryInterval != null && networkRecoveryInterval > 0