Reputation: 53
Is there a way in BizTalk to process messages dropped in a folder location (using file adapter) one at a time? I do not want all the messages in the folder get picked all at once.
Upvotes: 2
Views: 758
Reputation: 840
I can understand why you want this.
In case of a lot of files flush in your intake folder, and if processing the file in pipeline takes extremely long time, it is easy to stuck all the files in pipeline.
In case of you don't want to write a custom adapter, an alternative solution I have used is using Loopback adapter.
What I did before is keep the file receive port as is and make it use passthrough pipeline. Then a loopback adapter will subscribe the message from this file receive port. You can apply your expected pipeline in Loopback ports receive port. and enforce one by one message process by enabling Ordered Delivery
Upvotes: 1
Reputation: 11527
Not using the native file adapter in BizTalk.
You would have to write a custom file adapter using the sample project in the SDK that can be found under <BizTalkDirectory>\SDK\Samples\AadaptersDevelopment\FileAdapter
Upvotes: 2