Hi,
i have create a subsriber. and i wrote the following lines to display the message that is recived
TextMessage textmsg2 = (TextMessage)msg;
System.out.println("Received : " +
textmsg2.getText() )
but what is displayed is something like this
The message received isfiorano.jms.services.msg.def.FioranoTexttMessage@5bc6c8
I want to display the actual message that was sent.
Any ideas
Thanx
Deepak Saini