Determining when message transmission should occur on the client

On the client side, you determine when message transmission should occur by specifying policies. A policy tells the QAnywhere Agent when a message should be moved from the client message store to the server message store. If you do not specify a policy, transmission occurs automatically when a message is queued for delivery to the server by default. There is a custom policy and three predefined policies: scheduled, automatic, and on demand.

You can specify policies in the following ways:

  • Using the QAnywhere 12 plug-in for Sybase Central, click Tools » QAnywhere 12 » New Agent Configuration File for SQL Anywhere. Policies are specified on the General tab of the Agent Configuration File Properties window. This task creates a file with a .qaa extension, a Sybase Central convention.

    To specify custom properties using the QAnywhere 12 plug-in for Sybase Central, click Tools » QAnywhere 12 » New Agent Rule File. This task creates a file with a .qar extension, a Sybase Central convention.

  • Run qaagent on the command line using the -policy option. For custom policies, create a rules file and specify it.

 See also