clearing-service возвращение ответа в REQUEST_INFO_UPDATE
This commit is contained in:
parent
23fbf503c9
commit
ad4e699bb6
2 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package ru.spcex.clearing.service;
|
||||
|
||||
import org.apache.kafka.clients.consumer.Consumer;
|
||||
import org.apache.kafka.clients.producer.Producer;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
|
|
@ -39,7 +40,7 @@ public class EventsReceiver extends QueueConsumer implements InitializingBean {
|
|||
private final BalanceRevise balanceRevise;
|
||||
|
||||
@Autowired
|
||||
public EventsReceiver(Consumer<String, Object> kafkaQueue,
|
||||
public EventsReceiver(Consumer<String, Object> kafkaQueue, Producer<String, Object> kafkaResponseQueue,
|
||||
ClearingService clearingService,
|
||||
RegistryService registryService,
|
||||
PrimaryAuctionBnSession primaryAuctionBnSession,
|
||||
|
|
@ -47,7 +48,7 @@ public class EventsReceiver extends QueueConsumer implements InitializingBean {
|
|||
PrimaryAuctionB0Session primaryAuctionB0Session, PrimaryAuctionT0Session primaryAuctionT0Session, IntermediateMkrSession intermediateMkrSession, FinalMkrSession finalMkrSession, ReturnDepositSession returnDepositSession, SessionManager sessionManager,
|
||||
Sdf06Executor sdf06Executor,
|
||||
BalanceRevise balanceRevise) {
|
||||
super(kafkaQueue);
|
||||
super(kafkaQueue, kafkaResponseQueue);
|
||||
this.clearingService = clearingService;
|
||||
this.registryService = registryService;
|
||||
this.primaryAuctionBnSession = primaryAuctionBnSession;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package ru.spcex.clearing.service;
|
||||
|
||||
import org.apache.kafka.clients.consumer.Consumer;
|
||||
import org.apache.kafka.clients.producer.Producer;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
|
|
@ -16,9 +17,9 @@ public class LauncherCommandReceiver extends QueueConsumer implements Initializi
|
|||
|
||||
private final ClearingService clearingService;
|
||||
@Autowired
|
||||
public LauncherCommandReceiver(Consumer<String, Object> kafkaQueue,
|
||||
public LauncherCommandReceiver(Consumer<String, Object> kafkaQueue, Producer<String, Object> kafkaResponseQueue,
|
||||
ClearingService clearingService) {
|
||||
super(kafkaQueue);
|
||||
super(kafkaQueue, kafkaResponseQueue);
|
||||
this.clearingService = clearingService;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue