Flex Messaging and MSMQ
WebORB Enterprise is here...ladies and gentlemen, be sure to fasten your seatbelts! The focal point of the Beta 1 release is the support for Flex Messaging and integration with MSMQ. Enterprise Edition lets Flex clients to use the mx.messaging.* API (Producer and Consumer) to communicate with one another or with Windows server applications. WebORB maps MSMQ queues to the messaging destinations defined in the standard Flex configuration file - messaging-config.xml. Flex Producer becomes an MSMQ publisher, while Consumer is a queue subscriber. Messages sent with the Producer.send method automatically delivered into a queue corresponding to the messaging destination the producer is created with. Likewise, when a consumer subscribes to a destination, WebORB connects to the queue on the Consumer's behalf and pushes messages arriving on the queue to the client.
This architecture yields endless opportunities. First off, MSMQ is available as a part of almost every Windows operating system, so there is no extra cost associated with MSMQ. The messaging system is very powerful and comes with a ton of features: intelligent routing, store and forward, distributed queues, transactions are just to name a few. The way WebORB integrates with MSMQ makes it a very flexible solution. A Flex destination is mapped onto a queue. The queue can be local or remote, public or private. No custom server-side code is needed in order to handle Flex-to-MSMQ communication - WebORB completely automates it. Since MSMQ APIs are available natively to all Windows and .NET applications, it is very easy to connect Flex clients with native apps. Just imagine an Excel spreadsheet auto-updating when Flex counterpart makes a change in the dataset, or how about a browser based performance counter showing the state of your computer remotely over the Internet?
The possibilities are truly endless, we're just scratching the surface here..










