Show / Hide Table of Contents

# Class ActiveMQTextMessage

##### Inheritance

System.Object
BaseDataStructure
BaseCommand
Message
ActiveMQMessage
ActiveMQTextMessage

##### Implements

Command
DataStructure
MessageReference
System.ICloneable
MarshallAware
Apache.NMS.ITextMessage
Apache.NMS.IMessage

##### Inherited Members

ActiveMQMessage.ID_ACTIVEMQMESSAGE
ActiveMQMessage.Acknowledger
ActiveMQMessage.Transform(IMessage)
ActiveMQMessage.GetHashCode()
ActiveMQMessage.Clone()
ActiveMQMessage.Equals(Object)
ActiveMQMessage.Equals(ActiveMQMessage)
ActiveMQMessage.Acknowledge()
ActiveMQMessage.ClearProperties()
ActiveMQMessage.FailIfReadOnlyBody()
ActiveMQMessage.FailIfWriteOnlyBody()
ActiveMQMessage.ReadOnlyProperties
ActiveMQMessage.Properties
ActiveMQMessage.FromDestination
ActiveMQMessage.Connection
ActiveMQMessage.NMSCorrelationID
ActiveMQMessage.NMSDestination
ActiveMQMessage.NMSTimeToLive
ActiveMQMessage.NMSMessageId
ActiveMQMessage.NMSDeliveryMode
ActiveMQMessage.NMSPriority
ActiveMQMessage.NMSRedelivered
ActiveMQMessage.NMSReplyTo
ActiveMQMessage.NMSTimestamp
ActiveMQMessage.NMSType
ActiveMQMessage.NMSXDeliveryCount
ActiveMQMessage.NMSXGroupID
ActiveMQMessage.NMSXGroupSeq
ActiveMQMessage.NMSXProducerTXID
ActiveMQMessage.GetObjectProperty(String)
ActiveMQMessage.SetObjectProperty(String, Object)
ActiveMQMessage.IsMarshallAware()
ActiveMQMessage.Visit(ICommandVisitor)
Message.ID_MESSAGE
Message.DEFAULT_MINIMUM_MESSAGE_SIZE
Message.OnSend()
Message.OnMessageRollback()
Message.IsExpired()
Message.ProducerId
Message.Destination
Message.TransactionId
Message.OriginalDestination
Message.MessageId
Message.OriginalTransactionId
Message.GroupID
Message.GroupSequence
Message.CorrelationId
Message.Persistent
Message.Expiration
Message.Priority
Message.ReplyTo
Message.Timestamp
Message.Type
Message.Content
Message.MarshalledProperties
Message.DataStructure
Message.TargetConsumerId
Message.Compressed
Message.RedeliveryCounter
Message.BrokerPath
Message.Arrival
Message.UserID
Message.RecievedByDFBridge
Message.Droppable
Message.Cluster
Message.BrokerInTime
Message.BrokerOutTime
Message.JMSXGroupFirstForConsumer
Message.ReadOnlyBody
Message.IsMessage
BaseCommand.CommandId
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.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 ActiveMQTextMessage : ActiveMQMessage, Command, DataStructure, MessageReference, ICloneable, MarshallAware, ITextMessage, IMessage

### Constructors

| Improve this Doc View Source

#### ActiveMQTextMessage()

##### Declaration

    public ActiveMQTextMessage()

| Improve this Doc View Source

#### ActiveMQTextMessage(String)

##### Declaration

    public ActiveMQTextMessage(string text)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | text |

### Fields

| Improve this Doc View Source

#### ID_ACTIVEMQTEXTMESSAGE

##### Declaration

    public const byte ID_ACTIVEMQTEXTMESSAGE = 28

##### Field Value

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

### Properties

| Improve this Doc View Source

#### Text

##### Declaration

    public string Text { get; set; }

##### Property Value

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

### Methods

| Improve this Doc View Source

#### BeforeMarshall(OpenWireFormat)

##### Declaration

    public override void BeforeMarshall(OpenWireFormat wireFormat)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |

##### Overrides

ActiveMQMessage.BeforeMarshall(OpenWireFormat)
| Improve this Doc View Source

#### ClearBody()

##### Declaration

    public override void ClearBody()

##### Overrides

ActiveMQMessage.ClearBody()
| Improve this Doc View Source

#### GetDataStructureType()

##### Declaration

    public override byte GetDataStructureType()

##### Returns

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

##### Overrides

ActiveMQMessage.GetDataStructureType()
| Improve this Doc View Source

#### Size()

##### Declaration

    public override int Size()

##### Returns

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

##### Overrides

Message.Size()
| Improve this Doc View Source

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

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

##### Overrides

Message.ToString()

### Implements

Command
DataStructure
MessageReference
System.ICloneable
MarshallAware
Apache.NMS.ITextMessage
Apache.NMS.IMessage