-
Parent Issue
-
As we discussed, it is hard to check it during registration listener, because it is possible that something want to listener for some events but event emiter may not be installed at all.
So I added event registration and EventBus may (configurable) throw exception in case of fire unknown event.
Type |
Task
|
Priority |
Minor
|
Assignee | |
RedmineID |
3822
|
Version |
tigase-server-8.0.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Right now it is possible to register in event bus to listen for event which may not be fired as ie. it is not implemented in this version - support added in future version but someone may try register. In this case now it will not know that there is no such event.
I think we should add check so that in this case error should be returned to user that there is no such event.
I do not think this is important at this point but before release of version 7.2.0, I think it may be good idea to add this feature.