Advanced Message Processing Rule Conditions

This is the official registry of Advanced Message Processing rule conditions maintained by the XMPP Registrar, as authorized by XEP-0079: Advanced Message Processing.

Last Updated: 2004-10-11

XML: https://xmpp.org/registrar/amp-conditions.xml


Table of Contents


1. deliver
2. expire-at
3. match-resource


1. deliver

Namespace: http://jabber.org/protocol/amp?condition=deliver

Syntax: [direct|forward|gateway|none|stored]

Processing: The condition is met if (1) the value is "direct" and the message can be immediately delivered or further dispatched, or (2) the value is "stored" and offline storage is enabled.

Per-Hop: true

Defined in XEP-0079: Advanced Message Processing.

2. expire-at

Namespace: http://jabber.org/protocol/amp?condition=expire-at

Syntax: DateTime per XEP-0082

Processing: The condition is met if the message cannot be delivered before the specified DateTime.

Per-Hop: true

Defined in XEP-0079: Advanced Message Processing.

3. match-resource

Namespace: http://jabber.org/protocol/amp?condition=match-resource

Syntax: [any|exact|other]

Processing: The condition is met if (1) the value is "any" and the intended recipient has at least one available resource (as defined in the XMPP IM specification); (2) the value "exact" and the intended recipient has an available resource that exactly matches the JID specified in the 'to' address; (3) the value is "other" and the intended recipient has an available resource whose full JID is other than that specified in the 'to' address.

Per-Hop: false

Defined in XEP-0079: Advanced Message Processing.


Revision History

2004-10-11 Initial version (conditions defined in version 1.0 of XEP-0079). (psa)