Package com.skava.oms.event
Class OmsEventService
java.lang.Object
com.skava.oms.event.OmsEventService
This class contains the event service for order.
- Since:
- 15-Oct-2018
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
PostConstruct - init methodvoid
publishDelegateEvent
(long collectionId, OmsEvent updateEvent) publishDelegateEvent method construct a routing key and pass the event to rabbitmq
-
Constructor Details
-
OmsEventService
public OmsEventService()
-
-
Method Details
-
init
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()PostConstruct - init method -
publishDelegateEvent
publishDelegateEvent method construct a routing key and pass the event to rabbitmq- Parameters:
collectionId
- - collection to which event to be publishedupdateEvent
- - event to be updated
-