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?

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


Please Help Members By Posting Answers For Below Questions

What is a jms queue?

847


How can an application do a jms operation and have it succeed, independent of the result of the transaction?

776


What is a distributed queue?

942


What is jms correlation id?

823


What is a JMS client?

966


How do I use a startup class to initialize and later reference jms objects?

824


Is kafka a jms?

806


What is mean by jms?

889


What is the main parts of jms applications?

831


What are the three parts of the message?

884


How to Send object as message in JMS?

1363


What is the use of message queues?

834


What is a connection factory?

824


What are the different types of messaging systems?

841


How does a message queue work?

882