createMicroservice
Creates and bootstraps microservice for given transport layer
Last updated
Creates and bootstraps microservice for given transport layer
Last updated
parameter
definition
config
CreateMicroserviceConfig
parameter
definition
listener
MessagingListener
event$
<optional> HttpServerEffect
dependencies
<optional> Array<BoundDependency<any>>
transport
Transport
options
StrategyOptions
parameter
definition
host
string
queue
string
queueOptions
<optional> Options.AssertQueue
(see: amqplib)
prefetchCount
<optional> number
(defaults to 1)
expectAck
<optional> boolean
timeout
<optional> number
in ms (defaults to 120s)
parameter
definition
host
string
channel
string
port
<optional> number
password
<optional> string
timeout
<optional> number
in ms (defaults to 120s)