Show / Hide Table of Contents

# Class MessageDispatch

##### Inheritance

System.Object
BaseDataStructure
BaseCommand
MessageDispatch

##### Implements

Command
DataStructure
System.ICloneable

##### Inherited Members

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.IsMessage
BaseCommand.IsMessageAck
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
BaseCommand.Clone()
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 MessageDispatch : BaseCommand, Command, DataStructure, ICloneable

### Fields

| Improve this Doc View Source

#### ID_MESSAGEDISPATCH

##### Declaration

    public const byte ID_MESSAGEDISPATCH = 21

##### Field Value

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

### Properties

| Improve this Doc View Source

#### Consumer

##### Declaration

    public object Consumer { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### ConsumerId

##### Declaration

    public ConsumerId ConsumerId { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### DeliverySequenceId

##### Declaration

    public long DeliverySequenceId { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### Destination

##### Declaration

    public ActiveMQDestination Destination { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### IsMessageDispatch

##### Declaration

    public override bool IsMessageDispatch { get; }

##### Property Value

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

##### Overrides

BaseCommand.IsMessageDispatch
| Improve this Doc View Source

#### Message

##### Declaration

    public Message Message { get; set; }

##### Property Value

Type | Description
--- | ---
Message |

| Improve this Doc View Source

#### RedeliveryCounter

##### Declaration

    public int RedeliveryCounter { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### RollbackCause

##### Declaration

    public Exception RollbackCause { get; set; }

##### Property Value

Type | Description
--- | ---
System.Exception |

### Methods

| Improve this Doc View Source

#### Equals(MessageDispatch)

##### Declaration

    public virtual bool Equals(MessageDispatch that)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageDispatch | that |

##### Returns

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

| Improve this Doc View Source

#### Equals(Object)

##### Declaration

    public override bool Equals(object that)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Object | that |

##### Returns

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

##### Overrides

BaseCommand.Equals(Object)
| Improve this Doc View Source

#### GetDataStructureType()

##### Declaration

    public override byte GetDataStructureType()

##### Returns

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

##### Overrides

BaseDataStructure.GetDataStructureType()
| Improve this Doc View Source

#### GetHashCode()

##### Declaration

    public override int GetHashCode()

##### Returns

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

##### Overrides

BaseCommand.GetHashCode()
| 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
System.ICloneable