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 jms connection factory?

878


What is the difference between Jms and Jvt ?

975


Is it possible to create both queues and topics to single jms server? if yes then how it works?

2189


Mention the difference between durable and non-durable subscription?

873


Can two jms servers share the same persistent store?

885


Is rabbitmq jms compliant?

970


What is a remote jms provider?

939


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

873


What is Publish/Subscribe approach?

1445


What is the principle difference between the working mechanism of jms and rpc?

910


Is jms an api?

884


What is jms publisher?

875


What is jms active mq?

867


How to check jms messages in weblogic?

988


What is a stream message?

891