I am working on the consulting field for many customers in Win32/C++ land for long previous years and now In the .NET/C# world.
I am helping a customer project that implements a custom ETL for data transformation on SQL Server. The ETL is a windows service that create a master workflow. This master workflows looks for incomming files to decide what tasks to perform.
Every time a incoming file arrives, a child workflow is created or the data are send through workflows queues to the an existing one (some workflows are implemented as an infinite while, listening on a worklow queue for incomming data and some others are implemented
as one shot for doing a particular piece of code and they quit).
For integration purpose with a new business component (implemented in WCF), we had to implement a WCF service on our part. When we need to communicate with this business component, we create a workflow which makes a WCF to call and then
wait to a WCF replay notify us that the job is finished.
I have implemented a Workflow local service that hosts a WCF service and when I receive a WCF call (a notification that the business module has finished its job), I raise an event to the right workflow instance to wake up its ListenActivity/HandleExternalEvent
View Complete Post