Connect the Data Synchronization Channel Through a Relay Server

To enable your client application to connect through a Relay Server, you can enter the related configuration in the application connection template through Sybase Control Center, and/or setup the configuration properties in the synchronization profile using the object API.

If a Relay Server is used, the ‘companyID’ in the SUPApplication property must correspond to the MBS farm ID that is used for the messaging client connection.

SUPConnectionProperties props = app.connectionProperties;
[props setFarmId:@"relayServer1"];

For data synchronization through a Relay Server, synchronization properties need to be set if the corresponding application connection template in Sybase Control Center does not have with the required values:

For more information on Relay Server configuration, see System Administration and Sybase Control Center for Sybase Unwired Platform.