[flexcoders] Data Push from ColdFusion, DB, or Event Gateway
I've been working on a problem for a couple days and haven't been able to find a solution. I am trying to use a flex application to receive data that is pushed from the coldfusion server on a SMS onIncomingMessage gateway event. I'm not sure if I can just use the SMS gateway to listen for the data or I have to set up a flex messaging gateway to get the data from the database or what the best way to go about this would be. Any advice would be appreciated beyond words, its been driving me crazy. Cheers!
Re: [flexcoders] Data Push from ColdFusion, DB, or Event Gateway
Currently the only way to notify Flex 2 clients with CF is using the Messaging gateway. What you can do is onIncomingMessage of the CFC listener, insert the data into the database and send a message to a messaging gateway instance which would be handled by the flex 2 client by doing a refill of your collection. You also could send through the messaging gateway the new data. João Fernandes