XMPP
The Extensible Messaging and Presence Protocol (XMPP) output in ArcGIS Velocity sends plain-text messages to individual recipients or multi-user chat rooms through an XMPP server. ArcGIS Arcade expressions define the destination and message body for each processed event.
Examples
The following are example use cases for the output:
An operations team configures a real-time analytic to send a message to an XMPP room when a sensor reports a value above the allowed limit.
A logistics company uses XMPP messages to notify dispatchers when shipments experience delays, arrive at distribution centers, or require immediate attention.
Usage notes
Note the following when working with the output:
Consult your IT administrator to identify the XMPP service domain, connection details, and credentials. For Room connections, also confirm the room Jabber ID (JID) and any required room password.
Specify at least one destination. You can provide multiple destinations as a comma-separated list of up to 20 unique recipient or room JIDs.
Click Configure an Arcade expression for Destination and Message body to define the expressions. The output sends messages as plain text. The message body must not exceed 65,536 bytes when encoded as UTF-8.
During configuration, the connection test authenticates with the XMPP server and checks its response to a ping. It does not send a message or test recipient delivery or room access. Verify message receipt when the real-time analytic runs.
Parameters
The following table describes the parameters for the output:
|
Parameter |
Description |
Data type |
|---|---|---|
|
XMPP service domain (Required) |
The XMPP service domain used for authentication, server certificate verification, and XMPP server discovery. |
String |
|
Username (Required) |
The username (local part of the JID) of the XMPP account used to send messages. |
String |
|
Password (Required) |
The password of the XMPP account used to send messages. |
Password |
|
Connection type (Required) |
Specifies whether messages are sent to individual recipients or multi-user chat rooms. Available connection types include Chat and Room.
|
String |
|
Room nickname (Required for Room) |
The nickname used by the sending client when joining each destination room. This parameter is available when Connection type is set to Room. |
String |
|
Room password (optional) |
The password used to join password-protected rooms. Leave it blank if the room does not require a password. This parameter is available when Connection type is set to Room. The same password is used for all destination rooms. |
Password |
|
Destination (Required) |
An Arcade expression that returns one or more recipient or room Jabber IDs (JIDs) as text for each feature. Provide up to 20 unique destinations as a comma-separated string. A JID is the unique address of an XMPP recipient or room. Use a bare JID without a |
Arcade Singleline Text |
|
Message body (Required) |
An Arcade expression that defines the plain-text message body for each feature. Fields from the processed event data can be referenced using No default message body is provided. For example, |
Arcade Multiline Text |
|
Host (optional) |
Specifies the server host to connect to directly, without changing the XMPP domain used for authentication and certificate verification. This parameter is available under Advanced options. |
String |
|
Port (optional) |
The client-to-server TCP port. Specify an integer from 1 through 65535. The default is 5222. This parameter is available under Advanced options. |
Integer |
|
Resource (optional) |
An optional resource identifier for the client connection. This distinguishes the connection from other sessions that use the same account. This parameter is available under Advanced options. |
String |
|
Connection timeout (optional) |
The timeout, in seconds, for establishing a TCP connection to the XMPP server. Specify a positive integer. The default is 30. This parameter is available under Advanced options. |
Integer |
|
Reply timeout (optional) |
The maximum time, in seconds, to wait for a response from the XMPP server before the request times out. Specify a positive integer. The default is 15. This parameter is available under Advanced options. |
Integer |
|
Ping interval (optional) |
The interval, in seconds, between connection health-check pings to the XMPP server. Specify a positive integer. The default is 60. This parameter is available under Advanced options. |
Integer |
Considerations and limitations
Consider the following when using the output:
The XMPP server must be reachable from ArcGIS Velocity on the configured TCP port.
The connection must use STARTTLS with TLS 1.2 or TLS 1.3. The deployment must trust the server certificate, and the certificate must be valid for the XMPP service domain.