ColdFusion 8: Flash Media Server Event Gateway

Did you know that CF8 will ship with a FMS Event Gateway? I didn't see it covered much but for those who might be using CF and FMS this is a great integration.

Not only you are going to be able to update with CF your remote shared objects but it will also react to sync events when data is changed by other clients.

To set it up you just need to add a CFC listener with a onSync method and a simple configuration file (.cfg) with 2 lines of code

rtmpurl=rtmp://yourServerUrl/YourApplication
sharedobject=yourSharedOBjectName

Unfortunately, FMS event gateway doesn't seem to support dynamic application instances so if you wanted to listen to a shared object in rtmp://yourServerUrl/YourApplication/instance1 and rtmp://yourServerUrl/YourApplication/instance2 you would have to create 2 event gateways.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001. Design by dcarter.