Skip to content

Commit

Permalink
processinfo status needs to be set to ok if the batch is not going to be
Browse files Browse the repository at this point in the history
processed
  • Loading branch information
chenson42 committed Dec 12, 2017
1 parent 9b1ef94 commit e11f851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Expand Up @@ -1116,11 +1116,11 @@ public boolean beforeBatchStarted(DataContext context) {

if (incomingBatchService.acquireIncomingBatch(incomingBatch)) {
this.currentBatch = incomingBatch;
context.put("currentBatch", this.currentBatch);

context.put("currentBatch", this.currentBatch);
return true;
}
}
processInfo.setStatus(ProcessStatus.OK);
return false;
}

Expand Down
Expand Up @@ -37,15 +37,13 @@
import org.jumpmind.db.sql.mapper.StringMapper;
import org.jumpmind.symmetric.common.ParameterConstants;
import org.jumpmind.symmetric.db.ISymmetricDialect;
import org.jumpmind.symmetric.model.AbstractBatch.Status;
import org.jumpmind.symmetric.model.BatchId;
import org.jumpmind.symmetric.model.IncomingBatch;
import org.jumpmind.symmetric.model.AbstractBatch.Status;
import org.jumpmind.symmetric.model.IncomingBatchSummary;
import org.jumpmind.symmetric.model.OutgoingBatchSummary;
import org.jumpmind.symmetric.service.IClusterService;
import org.jumpmind.symmetric.service.IIncomingBatchService;
import org.jumpmind.symmetric.service.IParameterService;
import org.jumpmind.symmetric.service.impl.OutgoingBatchService.OutgoingBatchSummaryMapper;
import org.jumpmind.util.FormatUtils;

/**
Expand Down

0 comments on commit e11f851

Please sign in to comment.