Home Page › Forums › BizTalk 2004 – BizTalk 2010 › need to process same file from two application using file adapters › Re: need to process same file from two application using file adapters
The Biztalk MessageBox uses a publish/subscribe pattern.
A receive port publishes the received message and any number of applications can subscribe to that message. Each application (orchestration or send port) that subscribes to the message will receive a copy of that message i.e. the message will remain in the MessageBox ( a SQL Server database) until it has been consumed by each subscriber.
As Tomas stated previously, you need one receive port with one receive location to pick up the file, and two or more orchestrations or send ports to process the received message. As long as the subscribers are Enlisted (i.e. have an active subscription), the message will be maintained in the MessageBox until they consume it.
You can bind two orchestrations to the same receive port or you can use direct binding. If you are using send ports you can set up two send ports with the same filter criteria so they both process the received message.