Module types/output
APIs
APIs
interface ExchangeSettings
interface ExchangeSettingsproperty arguments
arguments?: undefined | {[key: string]: any};Additional key/value settings for the exchange.
property autoDelete
autoDelete?: undefined | false | true;Whether the exchange will self-delete when all queues have finished using it.
property durable
durable?: undefined | false | true;Whether the exchange survives server restarts.
Defaults to false.
property type
type: string;The type of exchange.
interface PermissionsPermissions
interface PermissionsPermissionsproperty configure
configure: string;The “configure” ACL.
property read
read: string;The “read” ACL.
property write
write: string;The “write” ACL.
interface PolicyPolicy
interface PolicyPolicyproperty applyTo
applyTo: string;Can either be “exchanges”, “queues”, or “all”.
property definition
definition: {[key: string]: any};Key/value pairs of the policy definition. See the RabbitMQ documentation for definition references and examples.
property pattern
pattern: string;A pattern to match an exchange or queue name.
property priority
priority: number;The policy with the greater priority is applied first.
interface QueueSettings
interface QueueSettingsproperty arguments
arguments?: undefined | {[key: string]: any};Additional key/value settings for the queue.
All values will be sent to RabbitMQ as a string. If you require non-string
values, use argumentsJson.
property argumentsJson
argumentsJson?: undefined | string;A nested JSON string which contains additional settings for the queue. This is useful for when the arguments contain non-string values.
property autoDelete
autoDelete?: undefined | false | true;Whether the queue will self-delete when all consumers have unsubscribed.
property durable
durable?: undefined | false | true;Whether the queue survives server restarts.
Defaults to false.
interface TopicPermissionsPermission
interface TopicPermissionsPermissionproperty exchange
exchange: string;The exchange to set the permissions for.
property read
read: string;The “read” ACL.
property write
write: string;The “write” ACL.