DEVFYI - Developer Resource - FYI

What is Stream Message ?

JMS Interview Questions and Answers

(Continued from previous question...)

66. What is Stream Message ?

Stream messages are a group of java primitives. It contains some convenient methods for reading the data. However Stream Message prevents reading a long value as short. This is so because the Stream Message also writes the type information along with the value of the primitive type and enforces a set of strict conversion rules which actually prevents reading of one primitive type as another.

Other Interview Questions