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 12:19:42 UTC
[camel] branch camel-2.21.x 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 camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new 44c3971 CAMEL-12933 override populateHeaders considering backward compatibility
44c3971 is described below
commit 44c39719bac15fa7d8542c17d26653f2455333dc
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;