Backend/Microservices/OrderInventoryService/server/src/Workers/index.js
/**
    * Method to fetch messages from payment to order queue.
    * @private
    */
Method to fetch messages from payment to order queue.
@private
Method to fetch messages from payment to order queue . @private
_getMessagesFromPaymentToOrderQueue() {
      scheduler.scheduleJob('0/1 * * * *', () => {
         orderStatusProcessor.updateOrderStatus();
      });
   }
_getMessagesFromPaymentToOrderQueue ( ) { scheduler . scheduleJob ( '0/1 * * * *' , ( ) => { orderStatusProcessor . updateOrderStatus ( ) ; } ) ; }
Method to fetch messages from payment to order queue.
Method to fetch messages from payment to order queue .