C.3 Webhook Workflow

As per the above workflow:
  • On defining WEBHOOK, a WEBHOOK action is added to Events framework.
  • Based on the Event definition defined in setup, system triggers Events.
  • For all Events with WEBHOOK as the associated action, AQ JMS message is generated and the same is consumed by WEBHOOK MDB adapter. If there is one Event subscribed to 5 channels then system places 5 WEBHOOK messages into MDB.
  • WEBHOOK MDB read the channel configuration detail from both Database and WebLogic CSF to propagate JSON message.
  • Based on the outcome of call to the third-party application, system updates the STATUS and HTTP response code for the message.
  • A retry batch job picks the failed messages and then resubmit into AQ. The number of retries is based on System Parameter which cannot exceed more than 5.