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

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

commit 1fd17a0806d6d4c51a236581e632c71cad67b14a
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Mar 7 13:38:20 2018 +0100

    CAMEL-12328 - Headers getting lost after calling kubernetes secrets list 
operation
---
 .../camel/component/kubernetes/secrets/KubernetesSecretsProducer.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/secrets/KubernetesSecretsProducer.java
 
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/secrets/KubernetesSecretsProducer.java
index 49f38f1..f93f3f7 100644
--- 
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/secrets/KubernetesSecretsProducer.java
+++ 
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/secrets/KubernetesSecretsProducer.java
@@ -96,6 +96,7 @@ public class KubernetesSecretsProducer extends 
DefaultProducer {
     protected void doList(Exchange exchange, String operation) throws 
Exception {
         SecretList secretsList = 
getEndpoint().getKubernetesClient().secrets().inAnyNamespace()
                 .list();
+        MessageHelper.copyHeaders(exchange.getIn(), exchange.getOut(), true);
         exchange.getOut().setBody(secretsList.getItems());
     }
 

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to