What is the use of TextMessage?

Answer Posted / munnu

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an example of using point to point model in JMS?

499


How does a message queue work?

461


What is message listener container?

455


What is the difference between java mail and jms queue?

466


What is the difference between a queue and a topic?

466






Mention different types of messages available in JMS API?

464


What are all the features of JMS API in J2EE platform?

494


Describe the concept of message driven bean clustering.

474


What is difference between jms and activemq?

476


What is a jms queue?

469


What is jms connection factory?

457


What is the use of EventMessage.java?

1101


Is jms a message broker?

486


How jndi is related to jms?

550


What is jms message?

468