Commit e5611916 authored by Stephane Nicoll's avatar Stephane Nicoll

Close JestClient on shutdown

Closes gh-7051
parent 8ed20068
......@@ -56,7 +56,7 @@ public class JestAutoConfiguration {
this.gsonProvider = gsonProvider;
}
@Bean
@Bean(destroyMethod = "shutdownClient")
@ConditionalOnMissingBean
public JestClient jestClient() {
JestClientFactory factory = new JestClientFactory();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment