CAMEL-6656 fixed the issue that spring-batch losses header
Clean up the code of XmlRpcProducer