Answer Posted / munnu
StreamMessage carries a stream of Java primitive types as it's payload. It contains some conveient methods for reading the data stored in the payload. However StreamMessage prevents reading a long value as short, something that is allwed in case of BytesMessage. This is so because the StreamMessage also writes the type information alonwgith the value of the primitive type and enforces a set of strict conversion rules which actually prevents reading of one primitive type as another.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a jms queue?
How can an application do a jms operation and have it succeed, independent of the result of the transaction?
What is a distributed queue?
What is jms correlation id?
What is a JMS client?
How do I use a startup class to initialize and later reference jms objects?
Is kafka a jms?
What is mean by jms?
What is the main parts of jms applications?
What are the three parts of the message?
How to Send object as message in JMS?
What is the use of message queues?
What is a connection factory?
What are the different types of messaging systems?
How does a message queue work?