Uploaded image for project: 'Openfire (ARCHIVED)'
  1. Openfire (ARCHIVED)
  2. JM-14

Improve delivery strategy when connected from multiple resources

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 3.3.0
    • Component/s: Core
    • Labels:
      None

      Description

      If a user is connected multiple times using the same priority in different clients the server will send the message (sent to bare JID of user) only to the client that last logged in (with highest priority). Instead we need to be smarter and even let admins override the default logic:

      New smart logic:
      1) Select resources with highest priority
      2) Select resources with highest show value (e.g. available, away, xa)
      3) Select resource with most recent activity
      4) Send message to that resource

      Admins can set the system property "route.all-resources" to true to override the above logic and just send the message to all connected resources with highest priority.

      See: http://www.xmpp.org/specs/rfc3921.html#rules (Section 11.1.4.1.)

        Attachments

          Activity

            People

            • Assignee:
              gaston Gaston Dombiak
              Reporter:
              gaston Gaston Dombiak
            • Votes:
              9 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: