Flex Messaging on ColdFusion with BlazeDs
Curiosity got the better of us at work this past week, we decided it was a good idea to test BlazeDs with ColdFusion and verify if we can get the Flex Messaging Service running and connected with our flex application.
On my laptop I got ColdFusion8 running with BlazeDS v 3.2 thanks to a post by Aaron West this was easy figuring out how to get access to the FMS Gateway within flex was shall I say a *****.
How to install BlazeDS on ColdFusion 8
Please watch the video on how to install Blaze DS on ColdFusion (running LCDS ES)
http://www.trajiklyhip.com/blog/index.cfm/2008/8/28/Integrating-BlazeDS-with-ColdFusion-8
NOTE: You may want to use the latest version of ColdFusion and Blaze available on Adobe's website.
Configure Flex Messaging Service on ColdFusion 8
Once we have ColdFusion 8 running with Flex the journey begins…
Step 1: We need to create a custom defination (I read somewhere we can do this realtime in Java, not sure how yet.)
Edit the messaging-config.xml file and add the following few lines of code
[The requested file http://www.hemtalreja.com/Mods/http://www.hemtalreja.com/Mods/blazeds/config/messaging-config.xml could not be found]
note: The "<adapter ref="actionscript" />" is really important, most Blaze tutorials do not include this single line of xml defination.
Flex Application as a Consumer & Producer for the FMS destination
[The requested file http://www.hemtalreja.com/Mods/http://www.hemtalreja.com/Mods/blazeds/MessagingService.as could not be found]
Function samples to dispatch and receive messages
[The requested file http://www.hemtalreja.com/Mods/http://www.hemtalreja.com/Mods/blazeds/MessagingService.as could not be found]
Note: Special thanks to Steve Brownlee (http://www.fusioncube.net) & Arron West for help with BlazeDs configuration.
Filed under: BlazeDS, ColdFusion, Flex, Uncategorized | 1 Comment


