class AccountDetailKeyRepository {

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

		message.put("accountdetailkey_persisted", request);

		accountDetailKeyQueueRepository.addToSearch(message);
	}

	@Autowired public  AccountDetailKeyRepository(AccountDetailKeyJdbcRepository accountDetailKeyJdbcRepository,
			MastersQueueRepository accountDetailKeyQueueRepository,
			FinancialConfigurationService financialConfigurationService,
			AccountDetailKeyESRepository accountDetailKeyESRepository,
			@Value("${persist.through.kafka}") String persistThroughKafka);

}