GitHub user bvahdat opened a pull request: https://github.com/apache/camel/pull/2501
better make use of Enum#name and Enum#valueof APIs @punkhorn would you please take a look at this change? thanks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/bvahdat/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2501.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 #2501 ---- commit a89b191a7778ae890cdc948a6f7923c1ab29a364 Author: Babak Vahdat <bvahdat@...> Date: 2018-08-29T16:05:33Z better make use of Enum#name and Enum#valueof APIs ---- ---