org.xml.sax.SAXParseException: cvc-enumeration-valid: Value is not facet-valid with respect to enumeration in Fuse

Solution Verified - Updated -

Issue

  • When using a dynamic values, properties in OSGi Blueprint in one component, for example threadPoolProfile, the following exception is displayed in the log during the deployment:
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value '{{my.property}}' is not facet-valid with respect to enumeration '[a, b, c]'. It must be a value from the enumeration.
  • Using a fixed value works.

Environment

  • Fuse 7.X
  • Camel 2.2X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content