To use most advanced data tuning features, you enable advanced
messaging support on the server. The AdvancedMessagingSupport service
enables reliable messaging support as the server starts up and handles
interactions with client-side AdvancedChannelSet objects at runtime.
The following example shows the text you must add to the services
section of the services-config.xml file:
...
<services>
...
<service id="AdvancedMessagingSupport"
class="flex.messaging.services.AdvancedMessagingSupport"/>
...
</services>
...
Suppose you have MXML applications in which you create ChannelSet
objects manually and you want to use the listed advanced data tuning
features. In this case, modify your applications to use the AdvancedChannelSet
class in the fds.swc file rather than the base ChannelSet class
in the rpc.swc file.
The following example shows the difference between using the
standard ChannelSet object and the AdvancedChannelSet object:
...
// Existing base ChannelSet.
var channelSet:ChannelSet = new ChannelSet();
...
// New AdvancedChannelSet.
var channelSet:ChannelSet = new AdvancedChannelSet();
...