export by request

This commit is contained in:
etreschenkov 2022-09-30 13:10:35 +03:00
parent 0b2e5a13fb
commit 14a009b066
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@ public class CommandService extends QueueConsumer implements InitializingBean {
public void afterPropertiesSet() throws Exception {
callback(ExportToFileRequest.class)
.setConsumer(this::process)
.forDestination(Consts.STATEMENT_PROCESS, callbacks::put);
.forDestination(Consts.EXPORT_PROCESS, callbacks::put);
init();
}

View file

@ -28,6 +28,7 @@ public interface Consts {
//todo
String STATEMENT_PROCESS = "statement-process";
String EXPORT_PROCESS = "export-process";
String ACCOUNT_NEW = "account-new";
String BALANCE_ACCOUNT_NEW = "balance-account-new";