You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by on...@apache.org on 2018/11/14 11:48:15 UTC
[camel] branch master updated: CAMEL-12933 override populateHeaders
considering backward compatibility
This is an automated email from the ASF dual-hosted git repository.
onders 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 80e12e7 CAMEL-12933 override populateHeaders considering backward compatibility
80e12e7 is described below
commit 80e12e7b03aabf823d4ef6e943b772890f2c65e8
Author: onders <on...@apache.org>
AuthorDate: Wed Nov 14 04:11:23 2018 +0300
CAMEL-12933 override populateHeaders considering backward compatibility
---
.../main/java/org/apache/camel/component/file/remote/RemoteFile.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
index cd1d18e..e29c248 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFile.java
@@ -42,6 +42,11 @@ public class RemoteFile<T> extends GenericFile<T> implements Cloneable {
message.setHeader("CamelFileHost", getHostname());
}
}
+
+ @Override
+ public void populateHeaders(GenericFileMessage<T> message, boolean isProbeContentTypeFromEndpoint) {
+ populateHeaders(message);
+ }
public String getHostname() {
return hostname;