CAMEL-7679 Fixed the build error in camel-2.12.x