Configuring Additional Properties for the Connection
The transport.websockets group contains additional properties for the connection that you may eventually want to adjust. The default values should suffice for most installations. The complete transport.websockets group follows:
transport.websockets {
. . .
authentication.timeout-ms = 10000
request.default_timeout-ms = 10000
iothread.count = 8
connections.pipe-count = 5
connections.timeout-ms = 10000
app-key = "00000000-0000-0000-0000-000000000000"
platforms = "wss://ThingWorxServer:8443/Thingworx/WS"
}
The following table lists and briefly describes the properties:
Property
Description
authentication.timeout-ms
The number of milliseconds that the eMessage Connector waits for its authentication request to be processed by the ThingWorx Platform before the connection is dropped. The default value is 10,000 milliseconds (10 seconds).
request.default_timeout-ms
The number of milliseconds that the eMessage Connector waits for the request that it is forwarding for the device before the connection is dropped. The default value is 10,000 milliseconds (10 seconds).
iothread.count
The number of threads that are allocated to IO processing for the connection. The default number of threads is 8.
connections.pipe-count
The number of pipes that are allocated to the connection. The default value is 5 pipes.
connections.timeout-ms
The number of milliseconds that the Connector waits for the ThingWorx Platform to respond before dropping the connection.
* 
While the property service-discovery appears in the configuration file, it is not implemented at this time. Setting the property has no effect.
Was this helpful?