2 Replies Latest reply on Jun 27, 2006 7:23 AM by revchris

    MessageBroker

    revchris
      Hello,

      I would like to listen for Flex messages using the flex.messaging.MessageBroker in a Java application. The example Feed.java that ships with Flex2 Beta 3 shows how to create and send messages, but I haven't found an example that shows how to listen for messages.

      Thanks,

      Chris Shafer
        • 1. Re: MessageBroker
          CathyM Level 1
          To listen for message from mxml/ActionScript, you'll want to use the <mx:Consumer> tag or mx.messaging.Consumer in ActionScript. You'll find several examples of this usage in the samples application - the dashboard feed stream and the dashboard chat application.

          You may also listen to the messages sent from Flex via the JMS adapter using standard JMS topics/queues on the server.

          - Cathy
          • 2. Re: MessageBroker
            revchris Level 1
            Yes, Thanks!