Dec 16, 2009

Streaming AMF channel with ColdFusion 9 and BlazeDS

Since ColdFusion 9 comes with BlazeDS intergrated and Adobe removed the express version of LCDS I was no longer able to PUSH data over RTMP as I could with CF8.  It's easy enough to work around by using long polling ( or normal polling ) but it's not quite as fast.  There are options for streaming AMF which should be able to replicate that LCDS express feature I was using for my simple "Chat to me" app.  However no matter how hard I tried I could not get this workign till Joan Fernandes confirmed my suspicion this was a bug.

Well I'm happy to report that this morning I got an update on the bug and its been fixed for 9.01 update of ColdFusion 9.

Here is the bug:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=80083

Here is the Chat demo I am refering to:  http://cf9.kukiel.net/Chat/

7 comments:

  1. oh, u spelled 'AFM' in the blog post.

    ReplyDelete
  2. Nice~! Didn't know about streaming AMF until this post, + a google search.

    http://www.flexlive.net/?p=102 (see last diagram for streaming AMF)

    Faster than polling, but still not as sweet as LCDS's RTMP!

    ReplyDelete
  3. I agree. I was using RTMP for the chat section on my blog ( up the top right ) but now have to use BlazeDS which is much slower but still produces the same result int he end. I'll try swap it to Streaming AMF when 9.01 is released.

    ReplyDelete
  4. I've been waiting for the update - it arrived - yet this update appears NOT to have fixed the problem - are you still seeing issues?

    ReplyDelete
  5. @Stu Well unfortunately for me the 9.01 update hosed my personal VPS with CF9 and I had to start all over. I was attempting to use these streaming channels to run the chat on my "Chat to me Live" demo at the top of the blog. I'll give this a go this weekend and try report my findings.

    ReplyDelete
  6. I can't get it to work either under CF 9.0.1. I started a thread on the Adobe Forums about this:

    http://forums.adobe.com/message/2991560#2991560

    ReplyDelete