Henryk Konsek created CAMEL-7212: ------------------------------------ Summary: Bean Validator should use OSGi-friendly ValidationProviderResolver if deployed into OSGi environment Key: CAMEL-7212 URL: https://issues.apache.org/jira/browse/CAMEL-7212 Project: Camel Issue Type: Bug Reporter: Henryk Konsek Assignee: Henryk Konsek Fix For: 2.13.0
If Bean Validator is deployed into OSGi container (like Karaf), it should use OSGi-friendly {{ValidationProviderResolver}}. We should detect the type of the current {{CamelContext}} and if the latter is OSGi-aware, and if {{ValidationProviderResolver}} isn't specified explicitly, then we should use {{HibernateValidationProviderResolver}} (which is OSGi-friendly). -- This message was sent by Atlassian JIRA (v6.1.5#6160)