@Test public void createOrderingTemplate() throws Exception { StringRedisTemplate template = emailRedisTemplateConfiguration.createOrderingTemplate(); assertions.assertThat(template).isNotNull(); }
@Bean @Qualifier("orderingTemplate") public StringRedisTemplate createOrderingTemplate() throws IOException { StringRedisTemplate template = new StringRedisTemplate(redisConnectionFactory); template.setEnableTransactionSupport(true); return template; }
EmailRedisTemplateConfiguration { @Bean @Qualifier("orderingTemplate") public StringRedisTemplate createOrderingTemplate() throws IOException { StringRedisTemplate template = new StringRedisTemplate(redisConnectionFactory); template.setEnableTransactionSupport(true); return template; } }
EmailRedisTemplateConfiguration { @Bean @Qualifier("orderingTemplate") public StringRedisTemplate createOrderingTemplate() throws IOException { StringRedisTemplate template = new StringRedisTemplate(redisConnectionFactory); template.setEnableTransactionSupport(true); return template; } @Autowired  EmailRedisTemplateConfiguration(final RedisConnectionFactory redisConnectionFactory); }
EmailRedisTemplateConfiguration { @Bean @Qualifier("orderingTemplate") public StringRedisTemplate createOrderingTemplate() throws IOException { StringRedisTemplate template = new StringRedisTemplate(redisConnectionFactory); template.setEnableTransactionSupport(true); return template; } @Autowired  EmailRedisTemplateConfiguration(final RedisConnectionFactory redisConnectionFactory); @Bean @Qualifier("orderingTemplate") StringRedisTemplate createOrderingTemplate(); @Bean @Qualifier("valueTemplate") RedisTemplate<String, EmailSchedulingData> createValueTemplate(); }
EmailRedisTemplateConfiguration { @Bean @Qualifier("orderingTemplate") public StringRedisTemplate createOrderingTemplate() throws IOException { StringRedisTemplate template = new StringRedisTemplate(redisConnectionFactory); template.setEnableTransactionSupport(true); return template; } @Autowired  EmailRedisTemplateConfiguration(final RedisConnectionFactory redisConnectionFactory); @Bean @Qualifier("orderingTemplate") StringRedisTemplate createOrderingTemplate(); @Bean @Qualifier("valueTemplate") RedisTemplate<String, EmailSchedulingData> createValueTemplate();  }