我需要在int-file:inbound-channel-adapter中支持多个文件名模式。假设我想要压缩文件和未压缩文件。任何人都可以帮助确定如何支持多个扩展吗?
将filename-regex
与正则表达式一起使用...
filename-regex="^.*.(txt|zip)$"