Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the use of StreamMessage?



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

Post New Answer

More JMS Interview Questions

What are the different elements present in JMS?

0 Answers  


What is the difference between durable and non-durable subscriptions?

1 Answers  


What are jms channels?

0 Answers  


What is Point-to-Point Approach?

0 Answers  


Which jms standard interface defines the methods to create the different types of messages?

0 Answers  


What is the diffrence between Java Mail and JMS Queue?

1 Answers  


Explain the process of Configuring Queues in Jms?

0 Answers   Tech Mahindra,


What is jms module in weblogic?

0 Answers  


What is the use of ObjectMessage?

1 Answers  


Is jms a message broker?

0 Answers  


What is the role of JMS in enterprise solution development?

1 Answers  


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?

1 Answers  


Categories