You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/02/10 12:22:40 UTC
[GitHub] [camel-kafka-connector] orpiske commented on issue #974: MongoDB tests failing with Camel master
orpiske commented on issue #974:
URL: https://github.com/apache/camel-kafka-connector/issues/974#issuecomment-776670715
The problem is caused because the `mongoConnection` is null at this point: https://github.com/apache/camel/blob/camel-3.8.x/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java#L235
And it is null at this point because the doStart is not being called for the source connector: https://github.com/apache/camel/blob/camel-3.8.x/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java#L323
This works fine for the sink connector.
----------------------------------------------------------------
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:
users@infra.apache.org