Get the Content-Length of a Node object

Thanx mcarlson for your answer.

In fact, the document can’t be functionaly processed by the EAI application if its size is too large.
Then we must intercept data before they come in the process. The only way we have thought about, is to evaluate the size of the document when it penetrates the EAI, i.e. when the flow service called by the external application receive the document.

So I wonder if it is possible to use a built-in service to evaluate the size of the object node or to write a java service (code ?).

Any idea ?