Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7212

Bean Validator should use OSGi-friendly ValidationProviderResolver if deployed into OSGi environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.13.0
    • None
    • None
    • Unknown

    Description

      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).

      Attachments

        Activity

          People

            hekonsek Henryk Konsek
            hekonsek Henryk Konsek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: