[ 
https://issues.apache.org/jira/browse/CAMEL-20851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-20851:
--------------------------------
    Fix Version/s: 4.7.0
                       (was: 4.x)

> 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
>            Priority: Minor
>             Fix For: 4.7.0
>
>
> 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)

Reply via email to