3.5 ADD RECVPATH

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

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 Server, 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 Server, and location of the target trail files.

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

Examples

ADD RECVPATH P1 SOURCE ws://user:passwd@localhost:9002/services/v2/sources?trail=a1 TARGET
trail://localhost:9003/services/v2/targets?trail=t1