Transports
Last updated
Last updated
Copyright 2013-2024 60East Technologies, Inc.
The Transports
element configures how AMPS communicates with publishers and subscribers, as well as how AMPS accepts connections for replication. The Transports element is a container for one or more Transport
elements. Each Transport
is a combination of a network transport, an AMPS header protocol, and a message type.
A Transport
also specifies the Authentication
used to validate the users that connect, and the Entitlement
used to enforce permissions for users that connect over that transport.
AMPS supports a variety of network transports, header protocols and message formats for communication between publishers and subscribers. This section describes how to configure a Transport
.
For more information on Transports, see the Transports section of the AMPS User Guide.
Starting with 5.1, AMPS supports encrypting client connections using the SSL (Secure Sockets Layer) network protocol. The following parameters apply to transports that use SSL. While AMPS performs additional configuration validation if the transport is configured with a Type
of tcps
, if a Certificate
and PrivateKey
are specified for a Transport
of tcp
type, AMPS will use SSL for that Transport
. These options also apply to transports of type amps-replication-secure
.
For protocols of Type
amps-unix
, AMPS requires the following additional configuration option:
For protocols of Type
websocket
, AMPS supports the following additional configuration option:
Transports Example with Slow Client Management
Transports Example with Transport Filter
TLS/SSL Transport Example