Hi, I attached a small patch with unit test for the following issue: https://issues.apache.org/jira/browse/CAMEL-4541
Let me know if you have feedback or would like to discuss this further before accepting the change. Thanks, Mathieu PS. I have karma to update the wiki when the change gets accepted.