Tibems.CalculateMessageSize


Method

Declaration

static int CalculateMessageSize( 
    Message msg ); 

Purpose

Returns the total size (in bytes) of a message in wire format.

Remarks

The total size includes headers, properties and body.

This method re-measures the message, and caches the results; contrast Tibems.GetMessageSize.

This method might consume process storage, and might involve disk I/O—with associated performance penalties.

Parameter
Description
msg
Compute the size of this message.

See Also

Tibems.GetMessageSize


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com