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 c71355aede8500899a25937512e75ccda79fc328
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Mar 7 13:41:53 2018 +0100

    CAMEL-12328 - Headers getting lost after calling kubernetes config maps 
list operation
---
 .../component/kubernetes/config_maps/KubernetesConfigMapsProducer.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
 
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
index 6e8b368..4f74d71 100644
--- 
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
+++ 
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
@@ -91,6 +91,8 @@ public class KubernetesConfigMapsProducer extends 
DefaultProducer {
 
     protected void doList(Exchange exchange, String operation) throws 
Exception {
         ConfigMapList configMapsList = 
getEndpoint().getKubernetesClient().configMaps().inAnyNamespace().list();
+        
+        MessageHelper.copyHeaders(exchange.getIn(), exchange.getOut(), true);  
     
         exchange.getOut().setBody(configMapsList.getItems());
     }
 

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

Reply via email to