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

Which messaging is generally used in cases where a message is published by a producer and consumed by multiple subscribers?

740


Why jms is used in java?

808


Detail about the features of publish model?

838


What is jms (java messaging service)?

780


What is the difference between the P2P (Peer to Peer) model and subscribe model?

856


How jndi is related to jms?

875


What is a remote jms provider?

825


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

789


Name the messaging types supported by jms.

760


What is queue connection factory?

757


What is the use of message queues?

790


How to consume message from jms queue in soa 12c?

754


What are the functionalities of a jms provider?

822


What is the important part of JMS applications?

813


Why does jmssession.createtopic or jmssession.createqueue fail to create a destination in wls jms 6.1 (it worked in 5.1)?

771