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
Does kafka support jms?
How to Set message priority levels?
What is a distributed queue?
What is Point-to-Point Approach?
What is hermes jms?
What is a message in software?
What is the publish-and-subscribe model in jms?
How does a message queue work?
What are the three parts of the message?
How to Allowe messages to expire ?
What is the functionality of a jms message producer?
What is use of jms?
Is jms a protocol?
Can we have more than one consumer for a jms queue?
What are the components of a jms messaging application?