Class OmsEventService

java.lang.Object
com.skava.oms.event.OmsEventService

@Component public class OmsEventService extends Object
This class contains the event service for order.
Since:
15-Oct-2018
Author:
Infosys Equinox
  • Constructor Details

    • OmsEventService

      public OmsEventService()
  • Method Details

    • init

      @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()
      PostConstruct - init method
    • publishDelegateEvent

      public void publishDelegateEvent(long collectionId, OmsEvent updateEvent)
      publishDelegateEvent method construct a routing key and pass the event to rabbitmq
      Parameters:
      collectionId - - collection to which event to be published
      updateEvent - - event to be updated