Constructor
new QueueClient()
Methods
channel()
- Description:
Return a subscription channel from the given name or options, the same client can support multiple subscriptions, additional subscriptions are specified by appending
#channelto theoptions.queueName, default is to use the primary queue name. Consumer name if present is stripped off.
monitor()
- Description:
Queue monitor or cleanup service, when poller is involved this will be started and can be used for cleaning up stale messages or other maintainence work the requires.
schedule()
- Description:
Schedule next poller iteration immediately or after timeout, check configured polling rate, make sure it polls no more than configured number of times per second. If not ready then keep polling until the ready signal is sent. Two events can be used for back pressure support:
pauseandunpauseto stop/restart queue processing