I'm using messaging with blazeds and I can send a message with a producer from
flex, but I don't know how to read its contents in my java ServiceAdapter. I
have a class:

public class ChannelListener extends ServiceAdapter {

public Object invoke(Message message) { }

}

But what do I do in the invoke method to parse out the message?

Thanks!