Put command handling in classes
Get one main Handler interface (which does not extend anything), and for each command create a class with @Component
or @Service
annotation. These classes must be injected into the NotificationHandler by autowiring a List of Handlers. This can be used to stream.filter() etcetera.