* Add distributed locking to MassTransitWorkflowDispatcher This commit introduces a distributed lock to the MassTransitWorkflowDispatcher to prevent concurrent updates to the workflow instance. The lock is acquired before any interaction with the workflow instance and is released after the update operation is complete. * Refactor MassTransitWorkflowDispatcher for simplified code Removed unnecessary code in the MassTransitWorkflowDispatcher.cs class, previously used to handle input and properties. Refactored to directly include input and properties in the DispatchWorkflowInstanceRequest object, increasing efficiency and readability. * Remove unused IDistributedLockProvider dependency The IDistributedLockProvider dependency in the constructor of MassTransitWorkflowDispatcher class was removed because it was identified as unnecessary in this context. This results in less complicated code and improved maintainability. * Add bulk dispatch workflows unit tests Added a new file `BulkDispatchWorkflowsTests.cs` that contains tests for Bulk Dispatch Workflows. Also, two new workflow files `EmployeeGreetingWorkflow.cs` and `GreetEmployeesWorkflow.cs` were added to define workflows used in the unit tests. This will help ensure the Bulk Dispatch Workflows feature is working as expected. |
||
|---|---|---|
| .. | ||
| Activities/FlowJoins | ||
| BasicWorkflows | ||
| BulkDispatchWorkflows | ||
| CachingAndWorkflowDefinitionActivity | ||
| ClusteredHosting | ||
| DispatchWorkflows | ||
| HttpWorkflows | ||
| LogPersistenceModes | ||
| WorkflowCompletion | ||