PARTIAL MESSAGE STREAMING
First Claim
1. In a distributed messaging system, a method of efficiently sending large messages by limiting the amount of the message that is loaded into an intermediate buffer before sending across a wire to a destination node, the method comprising:
- accessing a message that is to be sent across the wire to a destination node;
loading a first portion of the message into an intermediate buffer for random access thereto;
formatting a second portion of the message, different from the first portion, in the form of a transport stream; and
streaming the second portion of the message across a wire to the destination node without loading the second portion in the intermediate buffer in order to reduce buffer requirements for sending large messages.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments provided herein support large messages by formatting at least a portion of the message in the form of a transport stream. More specifically, embodiments provide a SOAP model that can stream an object for a message without loading the entire message into an intermediate buffer. Accordingly, one embodiment supports loading SOAP headers into memory, yet streaming the body. This would allow, for example, large attachments (e.g., a video file) to accompany the SOAP message in the body, while still supporting random access to message headers. Accordingly, embodiments provide a SOAP data model that allows a developer to create an object and specify whether or not portions of the message should be buffered or streamed.
89 Citations
17 Claims
-
1. In a distributed messaging system, a method of efficiently sending large messages by limiting the amount of the message that is loaded into an intermediate buffer before sending across a wire to a destination node, the method comprising:
- accessing a message that is to be sent across the wire to a destination node;
loading a first portion of the message into an intermediate buffer for random access thereto; formatting a second portion of the message, different from the first portion, in the form of a transport stream; and streaming the second portion of the message across a wire to the destination node without loading the second portion in the intermediate buffer in order to reduce buffer requirements for sending large messages. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
- accessing a message that is to be sent across the wire to a destination node;
-
9. In a distributed messaging system, a computer program product for implementing a method of efficiently sending large messages by limiting the amount of the message that is loaded into an intermediate buffer before sending across a wire to a destination node, the computer program product comprising one or more computer readable media having stored thereon computer executable instructions that, when executed by a processor, can cause the distributed messaging system to perform the following:
-
access a message that is to be sent across the wire to a destination node; load a first portion of the message into an intermediate buffer for random access thereto;
format a second portion of the message, different from the first portion, in the form of a transport stream; andstream the second portion of the message across a wire to the destination node without loading the second portion in the intermediate buffer in order to reduce buffer requirements for sending large messages. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17-26. -26. (canceled)
Specification