Show / Hide Table of Contents

# Class Message

##### Inheritance

System.Object
BaseDataStructure
BaseCommand
Message
ActiveMQMessage

##### Implements

Command
DataStructure
MessageReference
MarshallAware
System.ICloneable

##### Inherited Members

BaseCommand.CommandId
BaseCommand.GetHashCode()
BaseCommand.Equals(Object)
BaseCommand.GetDataStructureTypeAsString(Int32)
BaseCommand.IsBrokerInfo
BaseCommand.IsConnectionControl
BaseCommand.IsConnectionInfo
BaseCommand.IsConnectionError
BaseCommand.IsConsumerControl
BaseCommand.IsConsumerInfo
BaseCommand.IsControlCommand
BaseCommand.IsDestinationInfo
BaseCommand.IsFlushCommand
BaseCommand.IsKeepAliveInfo
BaseCommand.IsMessageAck
BaseCommand.IsMessageDispatch
BaseCommand.IsMessageDispatchNotification
BaseCommand.IsMessagePull
BaseCommand.IsProducerAck
BaseCommand.IsProducerInfo
BaseCommand.IsRemoveInfo
BaseCommand.IsRemoveSubscriptionInfo
BaseCommand.IsReplayCommand
BaseCommand.IsResponse
BaseCommand.IsSessionInfo
BaseCommand.IsShutdownInfo
BaseCommand.IsTransactionInfo
BaseCommand.IsWireFormatInfo
BaseCommand.ResponseRequired
BaseDataStructure.IsMarshallAware()
BaseDataStructure.BeforeMarshall(OpenWireFormat)
BaseDataStructure.AfterMarshall(OpenWireFormat)
BaseDataStructure.BeforeUnmarshall(OpenWireFormat)
BaseDataStructure.AfterUnmarshall(OpenWireFormat)
BaseDataStructure.SetMarshalledForm(OpenWireFormat, Byte[])
BaseDataStructure.GetMarshalledForm(OpenWireFormat)
BaseDataStructure.HashCode(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)

###### Namespace: Apache.NMS.ActiveMQ.Commands

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class Message : BaseCommand, Command, DataStructure, MessageReference, MarshallAware, ICloneable

### Fields

| Improve this Doc View Source

#### DEFAULT_MINIMUM_MESSAGE_SIZE

##### Declaration

    public const int DEFAULT_MINIMUM_MESSAGE_SIZE = 1024

##### Field Value

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### ID_MESSAGE

##### Declaration

    public const byte ID_MESSAGE = 0

##### Field Value

Type | Description
--- | ---
System.Byte |

### Properties

| Improve this Doc View Source

#### Arrival

##### Declaration

    public long Arrival { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### BrokerInTime

##### Declaration

    public long BrokerInTime { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### BrokerOutTime

##### Declaration

    public long BrokerOutTime { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### BrokerPath

##### Declaration

    public BrokerId[] BrokerPath { get; set; }

##### Property Value

Type | Description
--- | ---
BrokerId[] |

| Improve this Doc View Source

#### Cluster

##### Declaration

    public BrokerId[] Cluster { get; set; }

##### Property Value

Type | Description
--- | ---
BrokerId[] |

| Improve this Doc View Source

#### Compressed

##### Declaration

    public bool Compressed { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Content

##### Declaration

    public byte[] Content { get; set; }

##### Property Value

Type | Description
--- | ---
System.Byte[] |

| Improve this Doc View Source

#### CorrelationId

##### Declaration

    public string CorrelationId { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### DataStructure

##### Declaration

    public DataStructure DataStructure { get; set; }

##### Property Value

Type | Description
--- | ---
DataStructure |

| Improve this Doc View Source

#### Destination

##### Declaration

    public ActiveMQDestination Destination { get; set; }

##### Property Value

Type | Description
--- | ---
ActiveMQDestination |

| Improve this Doc View Source

#### Droppable

##### Declaration

    public bool Droppable { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Expiration

##### Declaration

    public long Expiration { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### GroupID

##### Declaration

    public string GroupID { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### GroupSequence

##### Declaration

    public int GroupSequence { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### IsMessage

##### Declaration

    public override bool IsMessage { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

##### Overrides

BaseCommand.IsMessage
| Improve this Doc View Source

#### JMSXGroupFirstForConsumer

##### Declaration

    public bool JMSXGroupFirstForConsumer { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### MarshalledProperties

##### Declaration

    public byte[] MarshalledProperties { get; set; }

##### Property Value

Type | Description
--- | ---
System.Byte[] |

| Improve this Doc View Source

#### MessageId

##### Declaration

    public MessageId MessageId { get; set; }

##### Property Value

Type | Description
--- | ---
MessageId |

| Improve this Doc View Source

#### OriginalDestination

##### Declaration

    public ActiveMQDestination OriginalDestination { get; set; }

##### Property Value

Type | Description
--- | ---
ActiveMQDestination |

| Improve this Doc View Source

#### OriginalTransactionId

##### Declaration

    public TransactionId OriginalTransactionId { get; set; }

##### Property Value

Type | Description
--- | ---
TransactionId |

| Improve this Doc View Source

#### Persistent

##### Declaration

    public bool Persistent { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Priority

##### Declaration

    public byte Priority { get; set; }

##### Property Value

Type | Description
--- | ---
System.Byte |

| Improve this Doc View Source

#### ProducerId

##### Declaration

    public ProducerId ProducerId { get; set; }

##### Property Value

Type | Description
--- | ---
ProducerId |

| Improve this Doc View Source

#### ReadOnlyBody

##### Declaration

    public virtual bool ReadOnlyBody { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### ReadOnlyProperties

##### Declaration

    public virtual bool ReadOnlyProperties { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### RecievedByDFBridge

##### Declaration

    public bool RecievedByDFBridge { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### RedeliveryCounter

##### Declaration

    public int RedeliveryCounter { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### ReplyTo

##### Declaration

    public ActiveMQDestination ReplyTo { get; set; }

##### Property Value

Type | Description
--- | ---
ActiveMQDestination |

| Improve this Doc View Source

#### TargetConsumerId

##### Declaration

    public ConsumerId TargetConsumerId { get; set; }

##### Property Value

Type | Description
--- | ---
ConsumerId |

| Improve this Doc View Source

#### Timestamp

##### Declaration

    public long Timestamp { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### TransactionId

##### Declaration

    public TransactionId TransactionId { get; set; }

##### Property Value

Type | Description
--- | ---
TransactionId |

| Improve this Doc View Source

#### Type

##### Declaration

    public string Type { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### UserID

##### Declaration

    public string UserID { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

### Methods

| Improve this Doc View Source

#### Clone()

##### Declaration

    public override object Clone()

##### Returns

Type | Description
--- | ---
System.Object |

##### Overrides

BaseCommand.Clone()
| Improve this Doc View Source

#### GetDataStructureType()

##### Declaration

    public override byte GetDataStructureType()

##### Returns

Type | Description
--- | ---
System.Byte |

##### Overrides

BaseDataStructure.GetDataStructureType()
| Improve this Doc View Source

#### IsExpired()

##### Declaration

    public bool IsExpired()

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### OnMessageRollback()

##### Declaration

    public virtual void OnMessageRollback()

| Improve this Doc View Source

#### OnSend()

##### Declaration

    public virtual void OnSend()

| Improve this Doc View Source

#### Size()

##### Declaration

    public virtual int Size()

##### Returns

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
System.String |

##### Overrides

BaseCommand.ToString()
| Improve this Doc View Source

#### Visit(ICommandVisitor)

##### Declaration

    public override Response Visit(ICommandVisitor visitor)

##### Parameters

Type | Name | Description
--- | --- | ---
ICommandVisitor | visitor |

##### Returns

Type | Description
--- | ---
Response |

##### Overrides

BaseCommand.Visit(ICommandVisitor)

### Implements

Command
DataStructure
MessageReference
MarshallAware
System.ICloneable