Stanza routing to multiple resources of equal priority

Would somebody please advise as to how ejabberd has chosen to handle RFC 3921:11.1?

"If two or more available resources have the same priority, the server MAY use some other rule (e.g., most recent connect time, most recent activity time, or highest availability as determined by some hierarchy of values) to choose between them or MAY deliver the message to all such resources"

What is the intended behaviour of ejabberd in this situation, please? Will each of the resources receive the message, given that they are both of an equal non-negative priority?

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Stanza routing to multiple resources of equal priority

In the case of message to full jid: It will route the message to the resource with the most recent connect time.
In the case of message to bare jid: It will route the message to all available highest non-negative resources.

Thanks, zinid. That's

Thanks, zinid. That's exactly what I was hoping for.

Syndicate content