You can set QAnywhere manager configuration properties in one of the following ways:
Create a properties text file to define the QAnywhere manager configuration properties that is used by one Manager instance.
See Setting QAnywhere manager configuration properties in a file.
Set QAnywhere manager configuration properties programmatically.
See Setting QAnywhere manager configuration properties programmatically.
The following are the QAnywhere manager configuration properties:
COMPRESSION_LEVEL=n Set the compression level.
n is the compression factor, which is expressed as is an integer between 0 and 9, where 0 indicates no compression and 9 indicates maximum compression.
CONNECT_PARAMS=connect-string Specify a connection string for the QAnywhere manager to use to connect to the message store database. Specify each connection option in the form keyword=value with multiple options separated by semi-colons.
This property is not supported in the standalone client.
The default is "eng=qanywhere;uid=ml_qa_user;pwd=qanywhere"
For a list of options, see Connection parameters.
For information about managing the database user and password, see Writing secure messaging applications.
DATABASE_TYPE=string Specify the type of database the QAnywhere manager is connected to. Use sqlanywhere for a SQL database, or ultralite for an UltraLite database. By default, the manager uses sqlanywhere.
LOG_FILE=filename Specify the name of a file to use to write logging messages. Specifying this option implicitly enables logging.
MAX_IN_MEMORY_MESSAGE_SIZE=n When reading a message, n is the largest message, in bytes, for which a buffer is allocated. A message larger than n bytes must be read using streaming operations. The default value is 1MB on Windows and 64KB on Windows Mobile.
The following are properties made exclusively for the standalone client:
ML_PROTOCOL_TYPE Specify the protocol type. Valid options are tcpip, tls, http, or https.
ML_PROTOCOL_PARAMS Specify the MobiLink connect parameters.
ML_PROTOCOL_USENAME Performs the same effect as the -mu option in QAnywhere agent.
ML_PROTOCOL_PASSWORD Performs the same effect as the -mn option in QAnywhere agent.
INC_UPLOAD Performs the same effect as the -iu option in QAnywhere agent.
INC_DOWNLOAD Performs the same effect as the -idl option in QAnywhere agent.
STORE_ID Performs the same effect as the -id option in QAnywhere agent.
STORE_ENCRYPTION_KEY Specify the encryption key to encrypt the MessageStore.
POLICY Performs the same effect as the -policy option in QAnywhere agent.
DELETE_PERIOD Specifies the number of seconds between executions of the delete rules. If the amount specified is a negative number, execution of the delete rules is disabled.
PUSH Performs the same effect as the -push option in the QAnywhere agent.
Setting QAnywhere manager configuration properties in a file
Setting QAnywhere manager configuration properties programmatically
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |