[@rxap/nest-amqp](../wiki/globals) / ServerRmqOptions

# Interface: ServerRmqOptions

Defined in: [packages/nest/amqp/src/lib/options.ts:44](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L44)

## Extends

- [`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions)

## Properties

### consumerTag?

> `optional` **consumerTag**: `string`

Defined in: [packages/nest/amqp/src/lib/options.ts:13](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L13)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`consumerTag`](../wiki/Interface.QueueRmqOptions#consumertag)

***

### deserializer?

> `optional` **deserializer**: `Deserializer`\<`any`, `any`\>

Defined in: [packages/nest/amqp/src/lib/options.ts:15](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L15)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`deserializer`](../wiki/Interface.QueueRmqOptions#deserializer)

***

### exchange?

> `optional` **exchange**: [`_ExchangeOptions`](../wiki/Interface._ExchangeOptions) \| [`_ExchangeOptions`](../wiki/Interface._ExchangeOptions)[]

Defined in: [packages/nest/amqp/src/lib/options.ts:45](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L45)

***

### headers?

> `optional` **headers**: `Record`\<`string`, `string`\>

Defined in: [packages/nest/amqp/src/lib/options.ts:18](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L18)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`headers`](../wiki/Interface.QueueRmqOptions#headers)

***

### isGlobalPrefetchCount?

> `optional` **isGlobalPrefetchCount**: `boolean`

Defined in: [packages/nest/amqp/src/lib/options.ts:10](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L10)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`isGlobalPrefetchCount`](../wiki/Interface.QueueRmqOptions#isglobalprefetchcount)

***

### maxConnectionAttempts?

> `optional` **maxConnectionAttempts**: `number`

Defined in: [packages/nest/amqp/src/lib/options.ts:26](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L26)

Maximum number of connection attempts.
Applies only to the consumer configuration.
-1 === infinite

#### Default

```ts
-1
```

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`maxConnectionAttempts`](../wiki/Interface.QueueRmqOptions#maxconnectionattempts)

***

### noAck?

> `optional` **noAck**: `boolean`

Defined in: [packages/nest/amqp/src/lib/options.ts:12](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L12)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`noAck`](../wiki/Interface.QueueRmqOptions#noack)

***

### noAssert?

> `optional` **noAssert**: `boolean`

Defined in: [packages/nest/amqp/src/lib/options.ts:19](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L19)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`noAssert`](../wiki/Interface.QueueRmqOptions#noassert)

***

### persistent?

> `optional` **persistent**: `boolean`

Defined in: [packages/nest/amqp/src/lib/options.ts:17](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L17)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`persistent`](../wiki/Interface.QueueRmqOptions#persistent)

***

### prefetchCount?

> `optional` **prefetchCount**: `number`

Defined in: [packages/nest/amqp/src/lib/options.ts:9](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L9)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`prefetchCount`](../wiki/Interface.QueueRmqOptions#prefetchcount)

***

### queue?

> `optional` **queue**: `string`

Defined in: [packages/nest/amqp/src/lib/options.ts:30](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L30)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`queue`](../wiki/Interface.QueueRmqOptions#queue)

***

### queueOptions?

> `optional` **queueOptions**: `AssertQueue`

Defined in: [packages/nest/amqp/src/lib/options.ts:31](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L31)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`queueOptions`](../wiki/Interface.QueueRmqOptions#queueoptions)

***

### replyQueue?

> `optional` **replyQueue**: `string`

Defined in: [packages/nest/amqp/src/lib/options.ts:16](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L16)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`replyQueue`](../wiki/Interface.QueueRmqOptions#replyqueue)

***

### serializer?

> `optional` **serializer**: `Serializer`\<`any`, `any`\>

Defined in: [packages/nest/amqp/src/lib/options.ts:14](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L14)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`serializer`](../wiki/Interface.QueueRmqOptions#serializer)

***

### socketOptions?

> `optional` **socketOptions**: `AmqpConnectionManagerOptions`

Defined in: [packages/nest/amqp/src/lib/options.ts:11](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L11)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`socketOptions`](../wiki/Interface.QueueRmqOptions#socketoptions)

***

### urls?

> `optional` **urls**: `string`[] \| `RmqUrl`[]

Defined in: [packages/nest/amqp/src/lib/options.ts:8](https://gitlab.com/rxap/libraries/cqrs/-/blob/b3efc64bb3a298aa043affe1613958c91a6aac2f/packages/nest/amqp/src/lib/options.ts#L8)

#### Inherited from

[`QueueRmqOptions`](../wiki/Interface.QueueRmqOptions).[`urls`](../wiki/Interface.QueueRmqOptions#urls)
