Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.18.1
-
None
-
Unknown
Description
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.
Attachments
Issue Links
- relates to
-
CAMEL-10644 Camel-MongoDB: component should not store state
- Resolved
-
CAMEL-10645 Camel-MongoDB3: component should not store state
- Resolved