Class: AMQPPubSubParameters
Extends
ServiceParameters
Constructors
new AMQPPubSubParameters(params)
new AMQPPubSubParameters(
params
):AMQPPubSubParameters
Parameters
• params: Partial
<AMQPPubSubParameters
>
Returns
Overrides
ServiceParameters.constructor
Source
Properties
channel
channel:
string
Source
exchange?
exchange?:
Object
Type declaration
alternateExchange?
alternateExchange?:
string
an exchange to send messages to if this exchange can’t route them to any queues.
Specific to RabbitMQ
arguments?
arguments?:
any
any additional arguments that may be needed by an exchange
autoDelete?
autoDelete?:
boolean
if true, the exchange will be destroyed once the number of bindings for which it is the source drop to zero.
Default
false
durable?
durable?:
boolean
if true, the exchange will survive broker restarts.
Default
true
internal?
internal?:
boolean
if true, messages cannot be published directly to the exchange (i.e., it can only be the target of bindings, or possibly create messages ex-nihilo).
Default
false
type?
type?:
string
Default
fanout
Source
openapi?
openapi?:
OpenAPIWebdaDefinition
OpenAPI override
Schema Ignore
Inherited from
ServiceParameters.openapi
Source
core/lib/services/service.d.ts:104
subscription
subscription:
string
Default
""
Schema Optional
Source
type
type:
string
Type of the service
Inherited from
ServiceParameters.type
Source
core/lib/services/service.d.ts:95
url
url:
string
Overrides
ServiceParameters.url