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

    CAMEL-12328 - Headers getting lost after calling kubernetes resource quotas 
list operation
---
 .../kubernetes/resources_quota/KubernetesResourcesQuotaProducer.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/resources_quota/KubernetesResourcesQuotaProducer.java
 
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/resources_quota/KubernetesResourcesQuotaProducer.java
index 32a521b..cd89000 100644
--- 
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/resources_quota/KubernetesResourcesQuotaProducer.java
+++ 
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/resources_quota/KubernetesResourcesQuotaProducer.java
@@ -96,6 +96,8 @@ public class KubernetesResourcesQuotaProducer extends 
DefaultProducer {
     protected void doList(Exchange exchange, String operation) throws 
Exception {
         ResourceQuotaList resList = getEndpoint().getKubernetesClient()
                 .resourceQuotas().inAnyNamespace().list();
+        
+        MessageHelper.copyHeaders(exchange.getIn(), exchange.getOut(), true);
         exchange.getOut().setBody(resList.getItems());
     }
 

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

Reply via email to