[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: WireFormat and flushes

timfox do-not-reply at jboss.com
Mon Feb 12 18:38:41 EST 2007


"clebert.suconic at jboss.com" wrote : 
  | This should be Remoting's job.
  | 
  | We shouldn't need this on write methods.

Not sure if I agree.

AFAIK, if you use the serializable marshaller with remoting then it will do the flush after writing the request/response.

Since we use our own marshaller it's up to use to the flushing.

I think this is correct. It should be up the marshaller to determine when to flush and when to not. You may want a marshaller to buffer up many invocations into a single request and it would be annoying if remoting performed flushes outside your control which would screw things up.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015480#4015480

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015480



More information about the jboss-dev-forums mailing list