Java Message Service (JMS) Question:

Download Job Interview Questions and Answers PDF

What is the use of Message object?

JMS Interview Question
JMS Interview Question

Answer:

Message is a light weight message having only header and properties and no payload. Thus if theIf the receivers are to be notified abt an event, and no data needs to be exchanged then using Message can be very efficient.

Download JMS Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between topic and queue?What is the basic difference between Publish Subscribe model and P2P model?