coffee-core
Version:
Coffee IT API core library
17 lines (14 loc) • 433 B
text/typescript
export interface BrokerConfigInterface {
AMQP_CONNECTION_URI: string;
DURABLE_EXCHANGE: boolean;
EXCHANGE_NAME: string;
EXCHANGE_TYPE: string;
// Required when using the rabbitmq-subscriber
DURABLE_QUEUES?: boolean;
QUEUE_NAME?: string;
EXCLUSIVE_QUEUES?: boolean;
AUTO_ACKNOWLEDGE?: boolean;
// Required when using the rabbitmq-publisher
PUBLISH_RETRY_TIMEOUT_MS?: number;
PERSISTENT_MESSAGES?: boolean;
}