class BankAccountRepository {

	public void addToSearchQueue(BankAccountRequest request) {
		Map<String, Object> message = new HashMap<>();

		message.put("bankaccount_persisted", request);

		bankAccountQueueRepository.addToSearch(message);
	}

	@Autowired public  BankAccountRepository(BankAccountJdbcRepository bankAccountJdbcRepository,
			MastersQueueRepository bankAccountQueueRepository,
			FinancialConfigurationService financialConfigurationService,
			BankAccountESRepository bankAccountESRepository,
			@Value("${persist.through.kafka}") String persistThroughKafka);

}