What is the use of StreamMessage?
Answer / 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 |
What is jms in java?
Explain about message listeners?
For sending messages through JMS, what encryption options are there?
What are jms channels?
What are the components of JMS?
Are there c/c++ interfaces to wls jms?
Are you aware of any major JMS products available in the market?
What is the difference between the P2P (Peer to Peer) model and subscribe model?
What is difference between JMS and Web Services?
Mention different types of messages available in JMS API?
What Is Messaging?
What are all the features of JMS API in J2EE platform?