I have written Both JMS publisher and JMS listener using ActiveMQ JMS provider. Publisher is parsing all the nodes of the xml file. All nodes data is appended to a string. String message is published to the destination(topic). Listener asynchronously reads textMessage from destination.
I am want to custamize the message tranfer between publisher and listener/subscriber. In Listener after receiving the text message i need to set the each node value of the xml to the POJO objects or bean objects, use those POJO objects to display it on GUI. How i can achieve it.