public class MapMessageBuilder

Summary

Constructs AMQP Basic-class messages binary-compatible with QPid's "MapMessage" wire encoding.

Field Summary

Flags Type Name Summary
public initonly static string MimeType

MIME type associated with QPid MapMessages.

Property Summary

Flags Type Name Summary
public virtual final IDictionary Body (r)

Implement IMapMessageBuilder.Body

Constructor Summary

Flags Name Summary
public MapMessageBuilder(IModel model, int initialAccumulatorSize)

Construct an instance for writing. See superclass.

public MapMessageBuilder(IModel model)

Construct an instance for writing. See superclass.

Method Summary

Flags Name Summary
public virtual byte[] GetContentBody()

Override superclass method to write Body out into the message BodyStream before retrieving the final byte array.

public virtual string GetDefaultContentType()

Override superclass method to answer our characteristic MIME type.

Field Detail

public initonly static string MimeType

Summary

MIME type associated with QPid MapMessages.

Property Detail

public virtual final IDictionary Body (r)

Summary

Implement IMapMessageBuilder.Body

Constructor Detail

MapMessageBuilder

public MapMessageBuilder(IModel model, int initialAccumulatorSize)

Parameters
Name Type
model IModel
initialAccumulatorSize int

Summary

Construct an instance for writing. See superclass.

MapMessageBuilder

public MapMessageBuilder(IModel model)

Parameters
Name Type
model IModel

Summary

Construct an instance for writing. See superclass.

Method Detail

GetContentBody

public virtual byte[] GetContentBody()

Flags public virtual
Return type byte[]

Summary

Override superclass method to write Body out into the message BodyStream before retrieving the final byte array.

Remarks

Calling this message clears Body to null. Subsequent calls will fault.

GetDefaultContentType

public virtual string GetDefaultContentType()

Flags public virtual
Return type string

Summary

Override superclass method to answer our characteristic MIME type.