This is an automated email from the ASF dual-hosted git repository.

onders pushed a commit to branch camel-2.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.22.x by this push:
     new d69fda7  CAMEL-12933 override populateHeaders  considering backward 
compatibility
d69fda7 is described below

commit d69fda73dcc9fb62ff8f555c792491156e496696
Author: onders <ond...@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;

Reply via email to