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 jms connection factory?
What is the difference between Jms and Jvt ?
Is it possible to create both queues and topics to single jms server? if yes then how it works?
Mention the difference between durable and non-durable subscription?
Can two jms servers share the same persistent store?
Is rabbitmq jms compliant?
What is a remote jms provider?
Why does jmssession.createtopic or jmssession.createqueue fail to create a destination in wls jms 6.1 (it worked in 5.1)?
What is Publish/Subscribe approach?
What is the principle difference between the working mechanism of jms and rpc?
Is jms an api?
What is jms publisher?
What is jms active mq?
How to check jms messages in weblogic?
What is a stream message?