Step 8: Test the Solution
In this step, we test the solution by dropping a flat-file message to a folder on the FTP Server. The one-way bridge should consume this message, process it, and then insert the values into the OrderDetails table in the Orders database of a SQL Server database.
To send a message to the bridge
Locate the Orders.txt message from the location you downloaded the FTP_EAI_Tutorial sample and copy it to a folder on the FTP Server. The bridge you configured as part of the Enterprise Application Integration project must be configured to pick messages from this folder.
Wait for the message to disappear. Now go to the OrderDetails table in the Orders database and verify if the new values have been inserted.
Because you configured the bridge to track message properties, you can also view the tracked data. For this, you can use a tool, TrackingClient, available with the samples for Service Bus EAI and EDI Labs. Once you download the samples, the tool is available under the Tools sub-folder. Refer to the Readme.htm provided with the tool on how to use it to view tracking data.
© 2011 Microsoft Corporation. All rights reserved.