Hi,
I'm trying to execute a sql from apache Camel. I using version 2.18.2 and
wildfly 10.1.0 final and wildfly-camel patch 4.5.0

My code is:

from("direct:testDatabase").routeId("testDatabase")
                .setHeader("id", constant("hello"))
                .to("sql:select * from testtable where
name=:#id?dataSource=myDS")
                .to("log:stream")
                .split(body()).streaming()
                .to("log:row");

and I got this error

java.lang.NoClassDefFoundError: Could not initialize class
org.apache.camel.component.mongodb.converters.MongoDbBasicConverters

am I doing something wrong with dependencies?






--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-SQL-2-18-2-problem-with-MongoDbBasicConverters-tp5799167.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to