You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/05/09 11:26:00 UTC

[jira] [Updated] (CAMEL-5260) LDAP Component lose headers

     [ https://issues.apache.org/jira/browse/CAMEL-5260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5260:
-------------------------------

    Fix Version/s: 2.10.0
                   2.9.3

Do you want to try working on a patch, to fix this bug?
Likewise attachments should also be copied to preserve those.
                
> 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
>              Labels: ldap
>             Fix For: 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