Class BatchNotificationsScheduledTaskExecutor

java.lang.Object
es.kukenan.smartfi.microservice.communication.service.batch.BatchNotificationsScheduledTaskExecutor

@Component public class BatchNotificationsScheduledTaskExecutor extends Object
Service that handles the scheduled execution of batch notification services.
  • Field Details

    • requestContextManager

      @Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManager
      Request context manager.
    • dataWareHouseBatchService

      @Autowired private DataWareHouseBatchService dataWareHouseBatchService
      Data Ware House batch service.
    • iosSilentPushBatchService

      @Autowired private IosSilentPushBatchService iosSilentPushBatchService
      IOS silent push batch service.
  • Constructor Details

    • BatchNotificationsScheduledTaskExecutor

      public BatchNotificationsScheduledTaskExecutor()
  • Method Details

    • dataWareHouseBatchExecuteTask

      public void dataWareHouseBatchExecuteTask()
      Execute Data Ware House batch notifications scheduled task.
    • iosSilentPushBatchExecuteTask

      public void iosSilentPushBatchExecuteTask()
      Execute IOS silent push batch scheduled task.
    • process

      private void process(BatchMessage batchMessage)
      Process a single batch message.
      Parameters:
      batchMessage - the batch message to process.
    • refreshContext

      private void refreshContext(User user)
      Update request context with information from the given user.
      Parameters:
      user - user to extract information from.