You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2014/02/16 17:24:19 UTC

[jira] [Created] (CAMEL-7212) Bean Validator should use OSGi-friendly ValidationProviderResolver if deployed into OSGi environment

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)