You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by qu...@apache.org on 2018/02/17 00:18:44 UTC
[camel] branch master updated: No JIRA - Fix typo in log entry in
TcpSocketConsumerRunnable
This is an automated email from the ASF dual-hosted git repository.
quinn 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 5ff32ad No JIRA - Fix typo in log entry in TcpSocketConsumerRunnable
5ff32ad is described below
commit 5ff32ad920a8e7e43b32bac9118ee41297fe863a
Author: Quinn Stevenson <qu...@apache.org>
AuthorDate: Fri Feb 16 17:18:37 2018 -0700
No JIRA - Fix typo in log entry in TcpSocketConsumerRunnable
---
.../apache/camel/component/mllp/internal/TcpSocketConsumerRunnable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/internal/TcpSocketConsumerRunnable.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/internal/TcpSocketConsumerRunnable.java
index 5780d90..fb54754 100644
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/internal/TcpSocketConsumerRunnable.java
+++ b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/internal/TcpSocketConsumerRunnable.java
@@ -194,7 +194,7 @@ public class TcpSocketConsumerRunnable implements Runnable {
long lastReceivedMessageTicks = consumer.getConsumerRunnables().get(this);
long idleTime = currentTicks - lastReceivedMessageTicks;
if (idleTime >= consumer.getConfiguration().getIdleTimeout()) {
- String resetMessage = String.format("Connection idle time {} exceeded idleTimeout {}", idleTime, consumer.getConfiguration().getIdleTimeout());
+ String resetMessage = String.format("Connection idle time %d exceeded idleTimeout %d", idleTime, consumer.getConfiguration().getIdleTimeout());
mllpBuffer.resetSocket(clientSocket, resetMessage);
}
}
--
To stop receiving notification emails like this one, please contact
quinn@apache.org.