camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Stoica <>
Subject Re: mongoDB uri
Date Tue, 26 Aug 2014 11:44:08 GMT
I tried adding the bean in the existing camel context like this:

.process(new Processor() {

public void process(Exchange exchange) throws Exception {
// add bean to context using getContext() method
.dynamicRouter(method(MongoConnection.class)) // in the MongoConnection
class I am using the bean added above

When I run the code I get a warning that the bean is not found in the

Am I doing it right? Should I add the bean to the registry somewhere else?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message