Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.5-incubating
-
None
Description
While testing my code I've figured out that passing an individual JobOperatorImpl instance is not working as expected when using this code snippet:
final JobOperator operator = new JobOperatorImpl(new ServicesManager() {{ init(new Properties() {{ setProperty(PersistenceManagerService.class.getSimpleName(), MemoryPersistenceManagerService.class.getName()); }}); }});
I'm going to implement a fix as suggested by rmannibucau :
@chberger yes, org.apache.batchee.container.services.callback.SimpleJobExecutionCallbackService#checkIsDone must change to use the right joboperator if the joboperator is a JobOperatorImpl. Guess it is just a matter of propagating it at org.apache.batchee.util.Batches#waitFor(javax.batch.operations.JobOperator, long)
Attachments
Issue Links
- links to