CAMEL-5943 Applied the patch with thanks to Andrea
Merged revisions 1430868 via svnmerge from 
https://svn.apache.org/repos/asf/camel/branches/camel-2.10.x

................
  r1430868 | ningjiang | 2013-01-09 22:14:02 +0800 (Wed, 09 Jan 2013) | 10 lines
  
  Merged revisions 1430724 via svnmerge from 
  https://svn.apache.org/repos/asf/camel/trunk
  
  ........
    r1430724 | ningjiang | 2013-01-09 16:06:04 +0800 (Wed, 09 Jan 2013) | 1 line
    
    CAMEL-5943 Applied the patch with thanks to Andrea
  ........
................


git-svn-id: https://svn.apache.org/repos/asf/camel/branches/camel-2.9.x@1430873 13f79535-47bb-0310-9956-ffa450edef68