[
https://issues.apache.org/jira/browse/CAMEL-10000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307566#comment-15307566
]
Antonin Stefanutti commented on CAMEL-10000:
--------------------------------------------
They are a lot of contraints on that `beans.xml file to address the CDI 1.0,
1.1 and 1.2 compatibility so we should be careful here.
For instance, adding the new namespace breaks Weld 1.x. The `scan` element, a
CDI 1.1 feature indeed, is there to avoid CDI 1.1+ users to have a mandatory
dependency on DeltaSpike which is only there for Java SE. It is generally
ignored by CDI 1.0 containers. And the extension code itself is CDI 1.0
compatible. Could you report the exact error that you have with TomEE 1.7.4?
> Camel CDI incorrectly reports beans.xml version of 1.0
> ------------------------------------------------------
>
> Key: CAMEL-10000
> URL: https://issues.apache.org/jira/browse/CAMEL-10000
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.17.1
> Reporter: John D. Ament
> Assignee: John D. Ament
> Fix For: 2.17.2
>
>
> Camel CDI's beans.xml incorrectly reports version = 1.0 but should be 1.1 due
> to compatibility requirements.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)