Descpription

This commit is contained in:
Patrick Schiefer 2022-03-09 16:18:49 +01:00
parent 19ca096afe
commit f892465759

View file

@ -15,7 +15,7 @@ Sometimes its neccassary to perform multiple processes in Business Central, for
## Description ## Description
The pattern is ideal for executing several independent processes in succession. Since the processes are independent, each process must take care of error handling itself. The pattern is ideal for executing several independent processes in succession. Since the processes are independent, each process must take care of error handling itself.
The pattern should not be used to control a single process. The command queue should not be used to control a single process. Also it is important to know that the queue is just in the memory so if the service gets restartet the queue is gone and has to be rebuild
## The Pattern ## The Pattern
To structure this problem we can use the "Command Queue" pattern. The pattern consist of two main parts the queue and the command interface To structure this problem we can use the "Command Queue" pattern. The pattern consist of two main parts the queue and the command interface