parent
8ed20068ca
commit
e56119165e
|
|
@ -56,7 +56,7 @@ public class JestAutoConfiguration {
|
||||||
this.gsonProvider = gsonProvider;
|
this.gsonProvider = gsonProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean(destroyMethod = "shutdownClient")
|
||||||
@ConditionalOnMissingBean
|
@ConditionalOnMissingBean
|
||||||
public JestClient jestClient() {
|
public JestClient jestClient() {
|
||||||
JestClientFactory factory = new JestClientFactory();
|
JestClientFactory factory = new JestClientFactory();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue