Type |
Bug
|
Priority |
Critical
|
Assignee | |
RedmineID |
688
|
Version |
tigase-server-5.2.0
|
Estimation |
16h
|
Related
Issue Votes (0)
Watchers (0)
Type |
Bug
|
Priority |
Critical
|
Assignee | |
RedmineID |
688
|
Version |
tigase-server-5.2.0
|
Estimation |
16h
|
When there are two or more connections to two or more different cluster nodes authenticated as same user but using different resources stanzas are sent to connections which are having highest priority or which full jid matches destination address.
example:
user@tigase.im/tigase-1 is connected to node orange
user@tigase.im/tigase-2 is connected to node blue
test@tigase.org/tigase is sending stanza to user@tigase.im/tigase-1 but it will be delivered to user@tigase.im/tigase-1 and user@tigase.im/tigase-2 as each of them is "best destination" for each of cluster node. This matching connection is done by getResourceConnection method in XMPPSession class.
I think that stanza sent to full jid should be delivered
only
to connection which resource matches resource of full jid.