Skip to content

PURISTA API


PURISTA API / @purista/amqpbridge / AmqpBridgeConfig

Type Alias: AmqpBridgeConfig

AmqpBridgeConfig = object

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:11

AmqpBridge bridge config

See

amqplib documentation

Properties

encoder?

optional encoder: Encoder

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:23

the encoder(s) to be used for AMQP messages

Default

ts
jsonEncoder

encrypter?

optional encrypter: Encrypter

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:25

the encrypter(s) to be used for AMQP messages

Default

ts
plain

exchangeName?

optional exchangeName: string

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:13

the AMQP exchage name to be used

Default

ts
purista

exchangeOptions?

optional exchangeOptions: Options.AssertExchange

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:17

the AMQP exchange options


namePrefix?

optional namePrefix: string

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:15

the queue prefix to be used for all PURISTA queues except short living queues created by the broker on request

Default

ts
purista

socketOptions?

optional socketOptions: any

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:21

socket options


url?

optional url: string | Options.Connect

Defined in: amqpbridge/src/types/AmqpBridgeConfig.ts:19

the AMQP broker url

Default

ts
amqp://localhost