You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/18 19:35:00 UTC
[jira] [Commented] (CAMEL-13763) elasticsearch-rest producer closes
connection when route is reloaded from xml and stays closed
[ https://issues.apache.org/jira/browse/CAMEL-13763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888275#comment-16888275 ]
Claus Ibsen commented on CAMEL-13763:
-------------------------------------
You are welcome to dive into the source code and see if there is something related to start/stop logic of the component that may not clear a http client or something which causes the component to not restart more cleanly.
> elasticsearch-rest producer closes connection when route is reloaded from xml and stays closed
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-13763
> URL: https://issues.apache.org/jira/browse/CAMEL-13763
> Project: Camel
> Issue Type: Improvement
> Components: camel-elasticsearch-rest
> Affects Versions: 3.0.0-M2
> Reporter: Erik Boeters
> Assignee: Claus Ibsen
> Priority: Critical
> Fix For: 3.0.0.M5
>
>
> When settingĀ camel.springboot.xmlRoutesReloadDirectory, any route using the Elasticsearch rest producer will cause a shutdown of the http client. When reloading a route, the route will be stopped and client.close() is being called on RestClient. The shared http client will not be able to handle new requets because the reactor status is STOPPED.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)