Mark Ericson wrote:hi Mark, if the probability of fault happening during serialization/streaming is very low (as in case when you send response generated by "always" correct generator) then it may be worth risk to have streaming. and this is in the matter of fact how i did this in XSOAP1 - if on the sending side there was a serialization error (you were sending a bad bad Java Bean) it just closed connection and logged locally a fatal error. it worked well but never was an ideal solution ... anyway streaming is much much harder to do with WSS and i think pretty much impossible with WS reliable messaging/delivery if you want immediate connection w/ streaming (as you need first to store message before you start sending it) but at least in this case sending can be async, streamed, and even pipelined when actual sending happens (as you know how many messages will go to the endpoint an exactly how messages will look). another way is to store messages in DB and stream them from there yes. i expect this to be typical for WS-ReliableMessaging (and friends/foes) implementations ... this is less of concern when you do async communication right? thanks, alek
-- The best way to predict the future is to invent it - Alan Kay |