org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type:
I have multipart file in the first place and I want to send it to camel pipeline and save this file with original name. my code: @Autowired ProducerTemplate producerTemplate; ... producerTemplate.sendBody("seda:rest_upload", multipartFile); on another side I have: from("seda:rest_upload").convertBodyTo(File.class).to("file://rest_files"); And also I try to register converter: @Converter public class MultiPartFileToFileConvertor { @Converter public static File toFile(MultipartFile multipartFile) throws IOException { File convFile = new File(multipartFile.getOriginalFilename()); multipartFile