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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: