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? All I can figure out is to call message.getBody() which returns an generic Object. But what should be done with this Object? Or is there some other method which will help me extract the info from the message?