3 Replies Latest reply on Dec 8, 2005 1:44 PM by Tom Elrod

    transport progress notification

    Tom Elrod Master

      There is a jira issue (JBREM-103) requesting ability to provide progress notification while sending a payload to the server. While I don't think would be practical to have this build in for most client to server invocations, would be nice to have something like this for very large payloads where the transmitting of the payload can be chunked, and then get callbacks as the chunks are being sent.

      The biggest problem I see is detecting that it is a large payload. Currently any payload is just streamed. Having to detect is a large payload by the remoting client internally would require something like serializing out the payload to see the size and then if is over some threshold, send it in chunks. This is too much overhead to do for every call, so may need a new method or configuration for this (or just scrap the idea all together).