Unable to access the Flex Message Broker
- April 21, 2009
- 1 reply
- 3673 views
Hi everyone,
Basically, I am trying to do a simple connection of message between a form (with only a text message) to send a message to Flex. The Flex is suppose to display the message. All this use a Event Gateway I created in ColdFusion. I also manipulated XML config files based on the Ben Forta example (http://www.forta.com/blog/index.cfm/2006/2/1/Getting-Started-With-ColdFusion-And-Flex-Enterprise-Services) but ColdFusion 8 (as it is the version I am using) is not set the same way as CF7 (I am not sure but for me, it is not seems to be the same for config files). I manipulated the messagin-config.xml includes in my path "C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex" to include the host (127.0.0.1) and a channel for RTMP.
But everything I am doing always returning me the error "Unable to access the Flex Message Broker". First, I am not sure at which step I am in the full process - but I think I can say that I reach the Event Gateway when I am getting this error - is it?
If somebody can explain me a bit better what this message is about exactly, it should help me a lot (and maybe a lot of other user trying to make this work).
I includes a file here that contains the following information:
1) The code I use from the Coldfusion to create the message to pass to;
2) The code I use to read the message in the Flex;
3) The CFC I use to transfer the message through the Event Gateway I created;
3) The messaging-config.xml;
4) The data-management-config.xml.
The Event Gateway I created is called testFlexGateway and it ibased on Data Management and pointing to the CFC I include in my file.
Any help will be great as we have a big project that is dependant of this success!!!
Thank's
