James Netherton created CAMEL-20851: ---------------------------------------
Summary: camel-elasticsearch-rest-client: Sniffer should be closed on producer stop Key: CAMEL-20851 URL: https://issues.apache.org/jira/browse/CAMEL-20851 Project: Camel Issue Type: Improvement Reporter: James Netherton Assignee: James Netherton Fix For: 4.x Quoting from the [ES client docs|https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/_usage.html]: {quote} It is important to close the Sniffer so that its background thread gets properly shutdown and all of its resources are released. The Sniffer object should have the same lifecycle as the RestClient and get closed right before the client {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)