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 the jms client?
What is subdeployment in weblogic jms?
What is the use of jms?
What is a topic?
What is queue connection factory?
Explain JMS and its Component?
Explain Asynchronous Message Consumption in JMS?
How do I handle request/response using jms?
What is the difference between jms and mq?
Why do we use jms?
How to read message from jms queue in java?
What is jms (java messaging service)?
Why is jms used?
What is hermes software?
Which types of jdbc databases does weblogic jms support?