Controller class

Constructors

Methods

Constructors

Methods

  • Execute a command over the producer or consumer

    Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

      HTTP request express object

    • response: Response<any, Record<string, any>>

      HTTP response express object

    • next: NextFunction

      Next express middleware function

    Returns void

    • response message
  • Return array of messages, pendingJobs and jobs used as fifo registry

    Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

      HTTP request express object

    • response: Response<any, Record<string, any>>

      HTTP response express object

    • next: NextFunction

      Next express middleware function

    Returns void