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 ems queue?
How does jms queue work?
What is jms destination?
What are jms channels?
How to handle non-transacted sessions with respect to jms?
How does a sender application transport/send a message through jms?
What is jms queue in weblogic?
Can two jms servers share the same persistent store?
What is asynchronous messaging?
What is the functionality of a jms queue browser?
What is jms module?
What is jndi? How is it related to jms?
What is a message topic?
How can third-party jdbc driver be used with jms?
What is a jms listener?