About messaging

Messaging is a Flex Data Services feature that lets you create collaborative and real-time messaging applications. It provides a client-side API for passing text and objects to and from messaging clients, and server-side configuration of message destinations.

You can create messaging components in MXML or ActionScript that connect to server-side message destinations, send messages to those destinations, and receive messages from other messaging clients. Components that send messages are called producers, while those that receive messages are called consumers. Messages are sent over transport channels, which use specific transport protocols, such as the Realtime Message Protocol (RTMP) and Action Message Format (AMF).

Messaging clients can be Flex applications or other types of applications, such as Java Message Service (JMS) applications. JMS is a Java API that lets applications create, send, receive, and read messages. JMS applications can publish and subscribe to the same message destinations as Flex applications. However, you can create a wide variety of messaging applications using just Flex messaging.

Message destinations are managed through a server-side XML-based configuration file. You can configure client authentication for destinations. You can also configure server-side logging for messaging traffic.


Flex 2.01

Take a survey