de.adorsys.multibanking.mongo.conf.ContinueOnBatchErrorTemplate Maven / Gradle / Ivy
package de.adorsys.multibanking.mongo.conf;
import com.mongodb.WriteConcern;
import com.mongodb.client.model.InsertManyOptions;
import org.bson.Document;
import org.springframework.data.mongodb.MongoDbFactory;
import org.springframework.data.mongodb.core.MongoAction;
import org.springframework.data.mongodb.core.MongoActionOperation;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.util.StreamUtils;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class ContinueOnBatchErrorTemplate extends MongoTemplate {
private static final String ID_FIELD = "_id";
private static List continueOnErrorCollections = Arrays.asList("bookingEntity", "anonymizedBookingEntity");
public ContinueOnBatchErrorTemplate(MongoDbFactory mongoDbFactory) {
super(mongoDbFactory);
}
protected List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy