0 Replies Latest reply on Mar 26, 2008 6:20 AM by Solerous

    Reading flex messages in java

    Solerous Level 1
      I have set up a flex app which sends information to a java object by populating the message like so:

      message.body.title = "Title";
      message.body.id = "ID";

      But I don't know how to process the message on the java side. For example how do I access the 'title' variable? I can call getBody() from the java object I receive, but after that, I don't know what to do. By the way, here is a skeleton of the java which receives the message:

      import flex.messaging.messages.Message;

      public Object invoke(Message message) { }