anonymous wrote : Can anyboy help me how to covert the SpyObjectMessage to a TextMessage or how to display the text in a SpyObjectMessage JMS Message can be of different types: 1) BytesMessage 2) MapMessage 3) ObjectMessage 4) StreamMessage 5) TextMessage
In short, the Message that you receive need not contain text. It can be of any of the above mentioned types. So you cannot get text out of a Message which is of type MapMessage or some other Message. Why are you trying to print the message contents, if its not a TextMessage? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970394#3970394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970394 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
