You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2012/05/09 23:01:48 UTC
[jira] [Closed] (CAMEL-5260) LDAP Component lose headers
[ https://issues.apache.org/jira/browse/CAMEL-5260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Müller closed CAMEL-5260.
-----------------------------------
Resolution: Fixed
Until this fix is available in a version which is suitable for you, you can use a content enricher [1] as workaround.
[1] http://camel.apache.org/content-enricher.html
> LDAP Component lose headers
> ---------------------------
>
> Key: CAMEL-5260
> URL: https://issues.apache.org/jira/browse/CAMEL-5260
> Project: Camel
> Issue Type: Bug
> Components: camel-ldap
> Affects Versions: 2.9.0
> Reporter: Ana Cortés
> Assignee: Christian Müller
> Labels: ldap
> Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> When we call to a LDAP endpoint, the result is returned in the Out body and we lose the IN headers (see http://camel.465427.n5.nabble.com/LDAP-Component-lose-headers-td5696602.html).
> A fix seems relatively easy. The solution could be add this line inside the process() method in LdapProducer.java
> exchange.getOut().setHeaders(exchange.getIn().getHeaders());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira