Skip to content

Message Hook

Message hook works asynchronous. In other words, the message is queued and requires a handler to execute the action.


Register in the entity definition file your want the hook to be executed. eg: stack9/entities/custom/customer.json

@prop functionName - _string _ - represents the name of the queue and must match the registered handler queue id.

  "hooks": [
      "type": "message",
      "hookType": "AfterSave",
      "functionName": "queueId"