prooph/service-bus

Add type to message header

Closed this issue · 0 comments

The header of a message should provide information of the original type of the message (command or event).

Change InMemoryMessageDispatcher to check the type and use the correct *Receiver