[英]How to add a file to upload in message flow of Mule ESB?
This is my Controller use SpringMVC, it has 2 params is "file" and "fileDesc": 这是我的控制器使用的SpringMVC,它有2个参数是“ file”和“ fileDesc”:
@RequestMapping(value = "/uploadfiles", method = RequestMethod.POST)
@ResponseBody
public String createResource(@RequestParam("file") MultipartFile[] files, @RequestParam("fileDesc") String fileDesc, Locale locale)
throws IOException, ServiceProcessException {...}
And this is my design in Mule: 这是我在Mule中设计的:
I don't know how to get files to get value in controller because data I send to Mule then point to Controler in runtime. 我不知道如何获取文件以在控制器中获取价值,因为我发送给Mule的数据然后在运行时指向Controler。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.