Command Query Responsibility Segregation Type safe implementation of Command Query Responsibility Segregation. Features: Command Logging + retrieval. Middleware logic. PostProcessing logic to change the state of the command logged, e.g. Inprocess to Completed etc.