Skip to content

Commit

Permalink
fix(messaging): removed reference to AMQP Options type
Browse files Browse the repository at this point in the history
  • Loading branch information
JozefFlakus committed Sep 6, 2020
1 parent 5da9fab commit 0e751cf
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Options } from 'amqplib';
import { NamedError } from '@marblejs/core/dist/+internal/utils';
import { Transport } from '../transport.interface';

Expand All @@ -10,7 +9,18 @@ export interface AmqpStrategy {
export interface AmqpStrategyOptions {
host: string;
queue: string;
queueOptions?: Options.AssertQueue;
queueOptions?: {
exclusive?: boolean;
durable?: boolean;
autoDelete?: boolean;
arguments?: any;
messageTtl?: number;
expires?: number;
deadLetterExchange?: string;
deadLetterRoutingKey?: string;
maxLength?: number;
maxPriority?: number;
};
prefetchCount?: number;
expectAck?: boolean;
timeout?: number;
Expand Down

0 comments on commit 0e751cf

Please sign in to comment.