UNPKG

@micro.ts/core

Version:

Microservice framework with Typescript

27 lines (26 loc) 826 B
import { AmqpBroker, IAmqpConfig, TopicBasedAmqpConfig } from "./AmqpBroker"; import { IAmqpExchangeConfig } from "../../server/types"; export declare class TopicBasedAmqpBroker extends AmqpBroker<TopicBasedAmqpConfig> { name: string; /** * Get the base topic exchange name */ get baseTopic(): string; /** * Override of getter for default exchange, return configured topic instead */ get defaultExchange(): IAmqpExchangeConfig; /** * Use only the name of the given value to set the topic exchange name * @param value */ set defaultExchange(value: IAmqpExchangeConfig); /** * Init default topic exchange */ protected construct(): void; /** * Get only connection configuration */ protected get connectionConfig(): IAmqpConfig; }