etreshenkov 2023-05-23 15:17:47 +03:00
parent be35cf9c5f
commit 7d28912120

View file

@ -77,10 +77,13 @@ public class PrimaryAuctionBnSession extends QueueConsumer implements Initializi
callback(Object.class)
.setConsumer(this::continueSession)
.forDestination(Consts.SDF57_PROCESS, callbacks::put);
callback(Object.class)
.setConsumer(this::runSession)
.forDestination(ru.spcex.platform.enumeration.Task.startOfClearing.topic(), callbacks::put);
init();
}
public void runSession() {
public void runSession(BaseRequest<?> req) {
if (!startSession()) {
return;
}