Default command handler

Hi,

Is there any way to set some kind of a default command handler?

I would like to set the behavior of my persistent entity to return invalid command response on every command it gets.

Thanks!

Hi @idoshamun,

if command is not handled in the entity behavior, entity will throw:
PersistentEntity.UnhandledCommandException

Br,
Alan

1 Like

Hi @aklikic,

This is what I ended up using, thanks!