Hi Dimitry,
I think we just might be missing XML namespace declaration for the
<beans> element. I've created an issue (CAMEL-11445[1]) and a pull
request[2].

If you can please test or provide feedback :)

Also I think you want to checkout wildfly-camel[3] project.

zoran

[1] https://issues.apache.org/jira/browse/CAMEL-11445
[2] https://github.com/apache/camel/pull/1782
[3] https://github.com/wildfly-extras/wildfly-camel

On Fri, Jun 23, 2017 at 2:12 AM, Shultz, Dmitry
<dmitry_shu...@kaltire.com> wrote:
> Hi All,
>
> I'm playing with microprofile + camel-cdi app that was created using this 
> repo as a template 
> https://github.com/eclipse/microprofile-samples/tree/master/microprofile-sample-canonical
>
> It looks like camel-cdi is not activated by wildfly-swarm (and my sample 
> route is not started). In the log I can see probably why:
>
> 2017-06-22 16:48:05,960 WARN  [org.jboss.weld.deployer] (MSC service thread 
> 1-6) WFLYWELD0012: Warning while parsing 
> vfs:/d:/my-app-1.0.war/WEB-INF/lib/camel-cdi-2.19.1.jar/META-INF/b
> eans.xml:18 cvc-elt.1.a: Cannot find the declaration of element 'beans'.
>
> Looks like some kind of CDI version mismatch, but I'm  not sure. Is there any 
> way to fix it?
>
> Cheers,
> Dmitry



-- 
Zoran Regvart

Reply via email to