Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » Creating QAnywhere Applications » Introduction to the QAnywhere agent

 

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 are three pre-defined policies: scheduled, automatic, and on demand, as well as a custom policy.

You can specify policies in the following ways:

  • Using the QAnywhere plug-in in Sybase Central, choose Tools » QAnywhere 11 » 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 plug-in in Sybase Central, choose Tools » QAnywhere 11 » 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