我使用以下配置的入站通道适配器:
<file:inbound-channel-adapter id="myAdapter"
directory="inDir"
auto-create-directory="true"
prevent-duplicates="true"
channel = "inChannel">
<int:poller id="myPoller" cron="0/2 * * * * *"/>
</file:inbound-channel-adapter>
此通道适配器在“inDir”下扫描以查找新文件。我希望从适配器处理第一个传入文件,因为现在我可以看到适配器采用文件名的算术或字母顺序获取文件。怎样才能实现FIFO逻辑?