Darren,

When you install fds (example c:\fds) you'll find a folder 
resources\config inside it.
This is where you can find an example for each file you'll have to 
configure FDS. This is a FDS configuration and not a CF one. The only 
thing you'll need to do in the cf side, is to activate the data 
management support inside the admin. Be aware that cfcs must be visibles 
to the cf instance so if you deploy them into IIS  or Apache website,  
you'll have to create a mapping so the cfusion instance can resolve the 
cfcs paths.

in services-config.xml you'll find the code you'll need to have to 
enable cf channels to comunicate with a CF instance

-------------------------------- services-config code 
------------------------------------------------------
        <!--  ColdFusion specific RTMP channel -->
        <channel-definition id="cf-dataservice-rtmp" 
class="mx.messaging.channels.RTMPChannel">
            <endpoint uri="rtmp://{server.name}:2048" 
class="flex.messaging.endpoints.RTMPEndpoint"/>
            <properties>
                <idle-timeout-minutes>20</idle-timeout-minutes>
                <serialization>
                    <!-- This must be turned off for any CF channel -->
                    <instantiate-types>false</instantiate-types>
                </serialization>
            </properties>
        </channel-definition>

        <!-- ColdFusion specific HTTP channel -->
        <channel-definition id="cf-polling-amf" 
class="mx.messaging.channels.AMFChannel">
            <endpoint 
uri="http://{server.name}:{server.port}/{context.root}/messagebroker/cfamfpolling";
 
class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <serialization>
                    <!-- This must be turned off for any CF channel -->
                    <instantiate-types>false</instantiate-types>
                </serialization>
                <polling-enabled>true</polling-enabled>
                <polling-interval-seconds>8</polling-interval-seconds>
            </properties>
        </channel-definition>
-----------------------------------------------------------------------------------------

in the data-management-config .xml you'll have  to use  coldfusion-dao 
adapter and use it in your cf data-management destinations and use 
cf-dataservice-rtmp and cf-polling-amf as channels, take a look at the 
last destination (cfcompany).

If you want to use flex messaging gateway, you'll find how to configure 
it in the messaging-config.xml. You'll have to use the cfgateway adapter 
definition.
At the end of the file, you'll find the ColdFusionGateway destination.

HTH,

João Fernandes




Reply via email to