Class BatchNotificationsScheduledTaskExecutor
java.lang.Object
es.kukenan.smartfi.microservice.communication.service.batch.BatchNotificationsScheduledTaskExecutor
Service that handles the scheduled execution of batch notification services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DataWareHouseBatchServiceData Ware House batch service.private IosSilentPushBatchServiceIOS silent push batch service.private es.kukenan.smartfi.common.context.RequestContextManagerRequest context manager. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecute Data Ware House batch notifications scheduled task.voidExecute IOS silent push batch scheduled task.private voidprocess(BatchMessage batchMessage) Process a single batch message.private voidrefreshContext(User user) Update request context with information from the given user.
-
Field Details
-
requestContextManager
@Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManagerRequest context manager. -
dataWareHouseBatchService
Data Ware House batch service. -
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
Process a single batch message.- Parameters:
batchMessage- the batch message to process.
-
refreshContext
Update request context with information from the given user.- Parameters:
user- user to extract information from.
-