I am trying to get messaging working with my AIR application. I'm converting a Flex application into AIR and everything works in Flex but not in AIR. I can get remoting working, but messaging isn't working. I set up remoting channels at runtime using the examples from this site:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId= 9703&productId=2 But I can't get it working for messaging. How do I define destinations for AIR at runtime? In Flex, I just define them in the messaging-config.xml file. Here's what I have from the messaging-config.xml file which works in flex: <?xml version="1.0" encoding="UTF-8"?> <service id="message-service" class="flex.messaging.services.MessageService"> <adapters> <adapter-definition id="TCautomation" class="factory.AutoWatcher"/> <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" /> </adapters> <default-channels> <channel ref="my-polling-amf"/> </default-channels> <destination id="autoWatch"> <adapter ref="TCautomation"/> </destination> </service> And here are my components in mxml: <mx:Producer id="reportManager" destination="autoWatch"/> <mx:Consumer id="consumer" destination="autoWatch" message="messageHandler(event.message)"/> Pretty simple for Flex, but how is this done in AIR?

