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 active mq?
Is rabbitmq jms compliant?
Does kafka support jms?
Can a jms queue have multiple listeners?
What is jms message?
What are the various message types supported by JMS?
How Does the JMS API Work with the J2EE Platform?
How do I start wls and configure jms?
What is wire level protocol?
Explain about message selector?
How do I use a startup class to initialize and later reference jms objects?
What is jms in java?