Show / Hide Table of Contents

# Class SessionExecutor

##### Inheritance

System.Object
SessionExecutor

##### Implements

Task

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

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

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

##### Syntax

    public class SessionExecutor : Task

### Constructors

| Improve this Doc View Source

#### SessionExecutor(Session, IDictionary)

##### Declaration

    public SessionExecutor(Session session, IDictionary consumers)

##### Parameters

Type | Name | Description
--- | --- | ---
Session | session |
System.Collections.IDictionary | consumers |

### Properties

| Improve this Doc View Source

#### Empty

##### Declaration

    public bool Empty { get; }

##### Property Value

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

| Improve this Doc View Source

#### HasUncomsumedMessages

##### Declaration

    public bool HasUncomsumedMessages { get; }

##### Property Value

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

| Improve this Doc View Source

#### Running

##### Declaration

    public bool Running { get; }

##### Property Value

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

| Improve this Doc View Source

#### UnconsumedMessages

##### Declaration

    public MessageDispatch[] UnconsumedMessages { get; }

##### Property Value

Type | Description
--- | ---
MessageDispatch[] |

### Methods

| Improve this Doc View Source

#### Clear()

##### Declaration

    public void Clear()

| Improve this Doc View Source

#### ClearMessagesInProgress()

##### Declaration

    public void ClearMessagesInProgress()

| Improve this Doc View Source

#### Close()

##### Declaration

    public void Close()

| Improve this Doc View Source

#### Dispatch(MessageDispatch)

##### Declaration

    public void Dispatch(MessageDispatch dispatch)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageDispatch | dispatch |

| Improve this Doc View Source

#### Execute(MessageDispatch)

##### Declaration

    public void Execute(MessageDispatch dispatch)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageDispatch | dispatch |

| Improve this Doc View Source

#### ExecuteFirst(MessageDispatch)

##### Declaration

    public void ExecuteFirst(MessageDispatch dispatch)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageDispatch | dispatch |

| Improve this Doc View Source

#### Finalize()

##### Declaration

    protected void Finalize()

| Improve this Doc View Source

#### Iterate()

##### Declaration

    public bool Iterate()

##### Returns

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

| Improve this Doc View Source

#### Start()

##### Declaration

    public void Start()

| Improve this Doc View Source

#### Stop()

##### Declaration

    public void Stop()

| Improve this Doc View Source

#### Stop(TimeSpan)

##### Declaration

    public void Stop(TimeSpan timeout)

##### Parameters

Type | Name | Description
--- | --- | ---
System.TimeSpan | timeout |

| Improve this Doc View Source

#### Wakeup()

##### Declaration

    public void Wakeup()

### Implements

Task