UNPKG

@diy0r/nestjs-rabbitmq

Version:
41 lines (40 loc) 2.59 kB
export declare const RMQ_OPTIONS = "RMQ_Options"; export declare const RMQ_BROKER_OPTIONS = "RMQ_BROKER_OPTIONS"; export declare const RMQ_MESSAGE_META_TAG = "RMQ_MESSAGE_META_TAG"; export declare const RMQ_ROUTES_TRANSFORM = "RMQ_ROUTES_TRANSFORM"; export declare const GET_INTERCEPTORS = "GET_INTERCEPTORS"; export declare const TARGET_MODULE = "TARGET_MODULE"; export declare const SER_DAS_KEY = "SER_DAS_KEY"; export declare const RMQ_VALIDATE = "RMQ_VALIDATE"; export declare const SERDES = "SERDES"; export declare const INTERCEPTORS = "INTERCEPTORS"; export declare const MIDDLEWARES = "MIDDLEWARES"; export declare const INTERCEPTOR_CUSTOM_METADATA = "__interceptors__"; export declare const MIDDLEWARES_METADATA = "MIDDLEWARE_KEY"; export declare const MESSAGE_ROUTER = "MessageRouterExplorer"; export declare const MODULE_TOKEN = "MODULE_UNIQ_TOKEN"; export declare const CLOSE_EVENT = "close"; export declare const CONNECT_ERROR = "error"; export declare const CONNECT_BLOCKED = "blocked"; export declare const INITIALIZATION_STEP_DELAY = 400; export declare const TIMEOUT_INIT_INTERCEPTORS = 300; export declare const DEFAULT_TIMEOUT = 40000; export declare const RECONNECTION_INTERVAL = 5000; export declare const NON_ROUTE = "There is no that route"; export declare const INDICATE_REPLY_QUEUE = "Please indicate `replyToQueue`"; export declare const INDICATE_REPLY_QUEUE_GLOBAL = "Please indicate `replyToQueue` in globalBroker"; export declare const TIMEOUT_ERROR = "Response timeout error"; export declare const RECEIVED_MESSAGE_ERROR = "Received a message but with an error"; export declare const ERROR_RMQ_SERVICE = "RMQ service error"; export declare const NACKED = "Negative acknowledgment"; export declare const RETURN_NOTHING = "Route returned nothing"; export declare const NON_DECLARED_ROUTE = "No Message Route has been declared in the Module"; export declare const ERROR_NO_ROUTE = "Requested service doesn't have a MessageRoute with this path"; export declare const EMPTY_OBJECT_MESSAGE = "Received empty object message content"; export declare const MESSAGE_NON = "Send an existing message"; export declare const CLOSE_MESSAGE = "Disconnected from RMQ. Trying to reconnect"; export declare const CONNECT_FAILED_MESSAGE = "Failed to connect to RMQ"; export declare const WRONG_CREDENTIALS_MESSAGE = "Wrong credentials for RMQ"; export declare const CONNECT_BLOCKED_MESSAGE = "Connection blocked"; export declare const SUCCESSFUL_CONNECT = "Successfully connected to RabbitMQ"; export declare const ROOT_MODULE_DECLARED = "Root RmqNestjsModule already declared!";