camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel-SQL 2.18.2 problem with MongoDbBasicConverters
Date Tue, 09 May 2017 14:01:25 GMT
Hi

Not sure its likely some classloading on jboss wildfly side.

There is a 4.6.0 release of camel-widlfly. And if you still have
trouble then you can report it to their community
https://github.com/wildfly-extras/wildfly-camel

On Tue, May 9, 2017 at 3:52 PM, antopet <anton.l.petersson@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message