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 are the different elements present in JMS?
What is the difference between durable and non-durable subscriptions?
What are jms channels?
What is Point-to-Point Approach?
Which jms standard interface defines the methods to create the different types of messages?
What is the diffrence between Java Mail and JMS Queue?
Explain the process of Configuring Queues in Jms?
What is jms module in weblogic?
What is the use of ObjectMessage?
Is jms a message broker?
What is the role of JMS in enterprise solution development?
Why do the JMS dbms_aqadm.add_subscriber and dbms_aqadm.remove_subscriber calls sometimes hang when there are concurrent enqueues or dequeues happening on the same queue to which these calls are issued?