CAMEL-6013 polish the code

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1440279 13f79535-47bb-0310-9956-ffa450edef68
CAMEL-6020 Fixed the issue of Camel Transformer using inconsistent sources

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1440280 13f79535-47bb-0310-9956-ffa450edef68