GitHub user marcusmesserkewill opened a pull request: https://github.com/apache/camel/pull/1385
CAMEL-10679 Producer does not populate attachments from response. I would think of refactoring the whole part of the response handling. In my opinion it would be best to handle this the same way as the BasicMessageFilter does this for the request message. This way anyone could implement custom behaviour if neccessary. I would have done it, but i didnt want to break anybodys code, so i just implemented it the same way the headers are populated. Feel free to contact me about the change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/marcusmesserkewill/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1385.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1385 ---- commit a07e90f2862b308f8a1b6c7b30a059d123d93dc5 Author: marcusmesserkewill <marcus.mes...@kewill.com> Date: 2017-01-09T09:32:04Z CAMEL-10679 Producer does not populate attachments from response. I would think of refactoring the whole part of the response handling. In my opinion it would be best to handle this the same way as the BasicMessageFilter does this for the request message. This way anyone could implement custom behaviour if neccessary. I would have done it, but i didnt want to break anybodys code, so i just implemented it the same way the headers are populated. Feel free to contact me about the change. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---