Projects tigase _server server-core Issues #624
Custom routings for events (#624)
Closed
Andrzej Wójcik (Tigase) opened 9 years ago

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 nodes node1 with resource res1 and to node2 with resource res2 in case of MessageCarbons we need to notify res2 that on res1 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 nodes node1 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.

Andrzej Wójcik (Tigase) commented 9 years ago

I think that code is ready but will keep it in QA as I not tested this feature in runtime.

Andrzej Wójcik (Tigase) commented 9 years ago

Tested in use during development and testing of #1601 - all works OK

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
3803
Version
tigase-server-8.0.0
Estimation
9h
Spent time
41h 15m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#624
Please wait...
Page is in error, reload to recover