Table of Contents

Class Message

Namespace
Apache.NMS.ActiveMQ.Commands
Assembly
Apache.NMS.ActiveMQ.dll
public class Message : BaseCommand, Command, DataStructure, MessageReference, MarshallAware, ICloneable
Inheritance
Message
Implements
Derived
Inherited Members

Constructors

Message()

public Message()

Fields

DEFAULT_MINIMUM_MESSAGE_SIZE

public const int DEFAULT_MINIMUM_MESSAGE_SIZE = 1024

Field Value

int

ID_MESSAGE

public const byte ID_MESSAGE = 0

Field Value

byte

Properties

Arrival

public long Arrival { get; set; }

Property Value

long

BrokerInTime

public long BrokerInTime { get; set; }

Property Value

long

BrokerOutTime

public long BrokerOutTime { get; set; }

Property Value

long

BrokerPath

public BrokerId[] BrokerPath { get; set; }

Property Value

BrokerId[]

Cluster

public BrokerId[] Cluster { get; set; }

Property Value

BrokerId[]

Compressed

public bool Compressed { get; set; }

Property Value

bool

Content

public byte[] Content { get; set; }

Property Value

byte[]

CorrelationId

public string CorrelationId { get; set; }

Property Value

string

DataStructure

public DataStructure DataStructure { get; set; }

Property Value

DataStructure

Destination

public ActiveMQDestination Destination { get; set; }

Property Value

ActiveMQDestination

Droppable

public bool Droppable { get; set; }

Property Value

bool

Expiration

public long Expiration { get; set; }

Property Value

long

GroupID

public string GroupID { get; set; }

Property Value

string

GroupSequence

public int GroupSequence { get; set; }

Property Value

int

IsMessage

public override bool IsMessage { get; }

Property Value

bool

JMSXGroupFirstForConsumer

public bool JMSXGroupFirstForConsumer { get; set; }

Property Value

bool

MarshalledProperties

public byte[] MarshalledProperties { get; set; }

Property Value

byte[]

MessageId

public MessageId MessageId { get; set; }

Property Value

MessageId

OriginalDestination

public ActiveMQDestination OriginalDestination { get; set; }

Property Value

ActiveMQDestination

OriginalTransactionId

public TransactionId OriginalTransactionId { get; set; }

Property Value

TransactionId

Persistent

public bool Persistent { get; set; }

Property Value

bool

Priority

public byte Priority { get; set; }

Property Value

byte

ProducerId

public ProducerId ProducerId { get; set; }

Property Value

ProducerId

ReadOnlyBody

public virtual bool ReadOnlyBody { get; set; }

Property Value

bool

ReadOnlyProperties

public virtual bool ReadOnlyProperties { get; set; }

Property Value

bool

RecievedByDFBridge

public bool RecievedByDFBridge { get; set; }

Property Value

bool

RedeliveryCounter

public int RedeliveryCounter { get; set; }

Property Value

int

ReplyTo

public ActiveMQDestination ReplyTo { get; set; }

Property Value

ActiveMQDestination

TargetConsumerId

public ConsumerId TargetConsumerId { get; set; }

Property Value

ConsumerId

Timestamp

public long Timestamp { get; set; }

Property Value

long

TransactionId

public TransactionId TransactionId { get; set; }

Property Value

TransactionId

Type

public string Type { get; set; }

Property Value

string

UserID

public string UserID { get; set; }

Property Value

string

Methods

Clone()

public override object Clone()

Returns

object

GetDataStructureType()

public override byte GetDataStructureType()

Returns

byte

IsExpired()

public bool IsExpired()

Returns

bool

OnMessageRollback()

public virtual void OnMessageRollback()

OnSend()

public virtual void OnSend()

Size()

public virtual int Size()

Returns

int

ToString()

public override string ToString()

Returns

string

Visit(ICommandVisitor)

public override Response Visit(ICommandVisitor visitor)

Parameters

visitor ICommandVisitor

Returns

Response