CAMEL-2632: Use StringBuilder instead of StringBuffer as its not a shared resource. Applied patch with thanks to Christian Mueller.