Java Message Service (JMS) Question:

Download Job Interview Questions and Answers PDF

What is the use of TextMessage?

JMS Interview Question
JMS Interview Question

Answer:

TextMessage contains instance of java.lang.String as it's payload. Thus it is very useful for exchanging textual data. It can also be used for exchanging complex character data such as an XML document.

Download JMS Interview Questions And Answers PDF

Previous QuestionNext Question
What is the basic difference between Publish Subscribe model and P2P model?What is the use of MapMessage?