[ https://issues.apache.org/jira/browse/CAMEL-10635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-10635. -------------------------------------- Resolution: Fixed > camel-mongodb-gridfs - The component should not store state > ----------------------------------------------------------- > > Key: CAMEL-10635 > URL: https://issues.apache.org/jira/browse/CAMEL-10635 > Project: Camel > Issue Type: Bug > Components: camel-mongodb > Affects Versions: 2.18.1 > Reporter: Claus Ibsen > Assignee: Andrea Cosentino > Priority: Minor > > The component is wrong at > https://github.com/apache/camel/blob/master/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/GridFsComponent.java#L42 > Where it stores the first looked up client and store that for remainder. So > if there are other endpoints referring to other clients then that wont work > as the db is not null next time. > Instead the client should be looked up per endpoint and not stored as state > on the component. -- This message was sent by Atlassian JIRA (v6.3.4#6332)