export by request
This commit is contained in:
parent
0b2e5a13fb
commit
14a009b066
2 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ public class CommandService extends QueueConsumer implements InitializingBean {
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
callback(ExportToFileRequest.class)
|
callback(ExportToFileRequest.class)
|
||||||
.setConsumer(this::process)
|
.setConsumer(this::process)
|
||||||
.forDestination(Consts.STATEMENT_PROCESS, callbacks::put);
|
.forDestination(Consts.EXPORT_PROCESS, callbacks::put);
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ public interface Consts {
|
||||||
|
|
||||||
//todo
|
//todo
|
||||||
String STATEMENT_PROCESS = "statement-process";
|
String STATEMENT_PROCESS = "statement-process";
|
||||||
|
String EXPORT_PROCESS = "export-process";
|
||||||
String ACCOUNT_NEW = "account-new";
|
String ACCOUNT_NEW = "account-new";
|
||||||
String BALANCE_ACCOUNT_NEW = "balance-account-new";
|
String BALANCE_ACCOUNT_NEW = "balance-account-new";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue