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

SQL Anywhere 11.0.1 » QAnywhere » Server management requests » Administering the server message store with server management requests

 

Refreshing client transmission rules

When a server-side client transmission rule is changed, the rules for the corresponding client must be refreshed. You can change client transmission rules in a server management request by setting the property ianywhere.qa.server.rules.

A RestartRules tag contains a single client tag, which specifies the name of the client to refresh.

<RestartRules> subtags

Description

<client>

The name of the client for which to refresh transmission rules.

Example

The server XML needs to specify the new transmission rule property and then restart rule processing using the RestartRules tag. For example, the following XML changes the server-side transmission rule for client myclient to auto = ias_Priority > 4. Note the proper encoding of ">" in the XML.

<?xml version="1.0" encoding="UTF-8"?>
<actions>
    <SetProperty>
      <prop>
        <client>myclient</client>
        <name>ianywhere.qa.server.rules</name>
        <value>auto = ias_Priority &gt; 4</value>
      </prop>
    </SetProperty>
    <RestartRules>
        <client>myclient</client>
    </RestartRules>
</actions>