parent
8ea6b99ed6
commit
a242415bb1
|
|
@ -97,7 +97,7 @@ public class RabbitAutoConfiguration {
|
|||
|
||||
@Bean
|
||||
@ConditionalOnMissingBean(RabbitTemplate.class)
|
||||
public RabbitTemplate rabbitTemplate(RabbitProperties config) {
|
||||
public RabbitTemplate rabbitTemplate() {
|
||||
return new RabbitTemplate(this.connectionFactory);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue