[ 
https://issues.apache.org/jira/browse/CAMEL-13123?focusedWorklogId=221733&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221733
 ]

ASF GitHub Bot logged work on CAMEL-13123:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Apr/19 13:19
            Start Date: 02/Apr/19 13:19
    Worklog Time Spent: 10m 
      Work Description: tveskrna commented on pull request #2853: [CAMEL-13123] 
Add test stoping endpoint
URL: https://github.com/apache/camel/pull/2853
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 221733)
            Time Spent: 10m
    Remaining Estimate: 0h

> Endpoint shutdown closes mongo connection, killing the connection for everyone
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-13123
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13123
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mongodb3
>    Affects Versions: 2.23.1
>            Reporter: Peter Nagy
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 2.21.5, 2.22.3, 3.0.0, 2.23.2, 2.24.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [This piece of code in 
> MongoEndpoint|https://github.com/apache/camel/blob/21bb980d29cdb7f09d875f8278fcf1d21f785ea0/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbEndpoint.java#L302]
>  closes the underlying MongoClient object when an Endpoint gets stopped. This 
> is not correct behavior. There most probably are other endpoints using the 
> client and this closes the connection for all of them. So if route1 stops and 
> route2 is using the same MongoClient (from the registry) then route2 just got 
> nuked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to