How to enable CXF Bean Validation Feature in a blueprint bundle
Issue
- We are trying to enable Bean Validation feature on CXF endpoints in a blueprint Fuse bundle, following the instructions of Apache CXF Developer Guide documentation.
The documentation show us how to configure using Spring bundles, when we try to migrate to a blueprint bundle, the following error happens:
2017-01-27 12:25:07,799 | ERROR | ion(6)-127.0.0.1 | BlueprintContainerImpl | 23 - org.apache.aries.blueprint.core - 1.4.5 | Unable to start blueprint container for bundle test-fuse/1.0.0.SNAPSHOT
org.osgi.service.blueprint.container.ComponentDefinitionException: Element ref must have a valid component-id attribute
at org.apache.aries.blueprint.parser.Parser.parseRef(Parser.java:1254)
at org.apache.aries.blueprint.parser.Parser.parseValueGroup(Parser.java:1220)
at org.apache.aries.blueprint.parser.Parser.parseCollection(Parser.java:777)
at org.apache.aries.blueprint.parser.Parser.parseElement(Parser.java:400)
Environment
- Red Hat JBoss Fuse
- 6.x
- Apache CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.