Dispatched task to manage messages between functions

I have messages from interrupts and other tasks passed to yet other tasks which then generate a cascade of further messages to other tasks. Because they can happen randomly but they need to be processed in a certain sequence, I am thinking of implementing a task just for collecting and dispatching those inter-task messages that need to be carried-out/dispatched in a certain sequence.

I know every application is different, but generally speaking is such solution a good practice or not?

Thank you

Generally, if something simplifies your design and makes your application more maintainable, then it’s good :slight_smile: In this case that would seem to be the case, but I don’t have the detailed insight into the application as you do.