Andrzej Wójcik (Tigase) opened 9 years ago
|
|
I think that code is ready but will keep it in QA as I not tested this feature in runtime. |
|
Tested in use during development and testing of #1601 - all works OK |
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3803
|
Version |
tigase-server-8.0.0
|
Estimation |
9h
|
Spent time |
41h 15m
|
Child Issue
Parent Issue
Issue Votes (0)
Watchers (0)
In some cases as ie. for events sent between cluster nodes to pass informations from one user session to other user session of same user it is important to address this event to particular node in cluster as if we have user
test@example.com
connected to nodesnode1
with resourceres1
and tonode2
with resourceres2
in case of MessageCarbons we need to notifyres2
that onres1
message carbons were enabled. In this case there is no need to forward this event to every cluster node as user session is only on nodesnode1
and @node2@.To do that it would be good to create
RoutingEventHandler
which could listen for particular event before event is sent and return list/set of nodes to which event should be forwarded.