execute method

Future execute (String correlationId, Parameters args)
override

Executes the command. Before execution it validates [Parameters args] using the defined schema. The command execution intercepts exceptions raised by the called function and returns them as an error in callback.

  • correlationId (optional) transaction id to trace execution through call chain.
  • args the parameters (arguments) to pass to this command for execution.
  • callback function to be called when command is complete

See [Parameters]