ADD RECVPATH

Use ADD RECVPATH to create a target-initiated distribution path in the Receiver Service.

Syntax

ADD RECVPATH path-name source-uri target-uri 
 [ENCRYPTIONPROFILE encryption-profile-name ]
path-name

The unique name of the distribution path you want to add.

source-uri

Specifies the source URI after the source keyword to indicate the location from where the has data originated. The format of this URI contains the protocol (only supports web socket ws protocol and secure web socket wss protocol), hostname, port number of the Distribution Service, and the location of the source trail files.

target-uri

Specifies the target URI after the target keyword to indicate the destination where the data will be sent to. The format of this URI contains the protocol (only supports trail), hostname, port number of Receiver Service, and location of the target trail files.

ENCRYPTIONPROFILE
This is the name (string) of the encryption profile for the Receiver path.

Examples

ADD RECVPATH rpe SOURCE ws://user:passwd@localhost:9002/services/v2/sources?trail=ea TARGET
trail://localhost:9003/services/v2/targets?trail=da