User Guide

Example application 61
3. To ensure that the channel is enabled, remove comments from around the channel
definition for the cf-dataservice-rtmp channel.
4. Add the following destination to the data-management-config.xml file:
<destination id="cfcontact">
<adapter ref="coldfusion-dao"/>
<channels>
<channel ref="cf-dataservice-rtmp" />
</channels>
<properties>
<metadata>
<identity property="contactId"/>
</metadata>
<network>
<session-timeout>0</session-timeout>
<paging enabled="false" size="10"/>
<throttle-inbound policy="ERROR" max-frequency="500"/>
<throttle-outbound policy="REPLACE" max-frequency="500"/>
</network>
<server>
<assembler>
<!-- The component name or Path on the ColdFusion server-->
<component>samples.contact.ContactAssembler</component>
<!-- The hostname or IP address of the ColdFusion host. -->
<hostname>localhost</hostname>
<!-- The resolution rules and access level of the CFC. -->
<access>
<!-- Allow "public and remote" or just "remote" methods
to be invoked. -->
<method-access-level>remote</method-access-level>
</access>
<!-- Controls to force property names to be lowercase when
converting to ActionScript. -->
<property-case>
<!-- CFC property names. -->
<force-cfc-lowercase>false</force-cfc-lowercase>
<!-- Query column names. -->
<force-query-lowercase>false</force-query-lowercase>
<!-- Struct keys. -->
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</assembler>
<!-- No parameters are defined here, unlike Java -->
<!-- Any options provided via the ActionScript call are passed
along to the CFC -->
<!-- Just use optional arguments -->
<fill-method>
<name>fill</name>
</fill-method>