Show / Hide Table of Contents

# Class MessageConsumer.ConsumerCloseSynchronization

##### Inheritance

System.Object
MessageConsumer.ConsumerCloseSynchronization

##### Implements

ISynchronization

##### 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

    protected class ConsumerCloseSynchronization : ISynchronization

### Constructors

| Improve this Doc View Source

#### ConsumerCloseSynchronization(MessageConsumer)

##### Declaration

    public ConsumerCloseSynchronization(MessageConsumer consumer)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageConsumer | consumer |

### Methods

| Improve this Doc View Source

#### AfterCommit()

##### Declaration

    public void AfterCommit()

| Improve this Doc View Source

#### AfterRollback()

##### Declaration

    public void AfterRollback()

| Improve this Doc View Source

#### BeforeEnd()

##### Declaration

    public void BeforeEnd()

### Implements

ISynchronization