camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 03/07: CAMEL-12328 - Headers getting lost after calling kubernetes secrets list operation
Date Wed, 07 Mar 2018 12:46:03 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 061a88f29ccc9b2e6beae176ae8cc138c8a8fc37
Author: Andrea Cosentino <ancosen@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
acosentino@apache.org.

Mime
View raw message