Class DefaultExternalNotificationDelegate

java.lang.Object
com.skava.oms.flow.AbstractOrderNotification
com.skava.oms.flow.adapter.DefaultExternalNotificationDelegate
All Implemented Interfaces:
org.camunda.bpm.engine.delegate.JavaDelegate

@Component public class DefaultExternalNotificationDelegate extends AbstractOrderNotification
This class DefaultExternalNotificationDelegate defines the default External notification properties. This class will add the default properties to the order.
Since:
26-Jul-2022
Author:
Skava
  • Constructor Details

    • DefaultExternalNotificationDelegate

      public DefaultExternalNotificationDelegate()
  • Method Details

    • process

      public Map<String,Object> process(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order)
      This method contains the default process for the External notification
      Specified by:
      process in class AbstractOrderNotification
      Parameters:
      execution - -Execution used in current delegate
      orderProcessData - - contains the data related to the process
      order - - contains the order to be processed
      Returns:
      notify object
    • triggerEvent

      public void triggerEvent(Order order, Notification notification, Map<String,Object> newOtherproperties)
      Trigger the external notification event to the queue.
      Overrides:
      triggerEvent in class AbstractOrderNotification
      Parameters:
      order - contains the order data
      notification -
      newOtherproperties -