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

Apache Camel Docker component not working in OSGi environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 2.17.3
    • None
    • camel-docker
    • None
    • Windows

    • Unknown

    Description

      I can not use camel-docker in the OSGi environment, exception is thrown.

      java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glass fish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.Il legalStateException: No generator was provided and there is no default generator registered

      If I do the following workaround then it can work

      RuntimeDelegate.setInstance(new org.glassfish.jersey.server.internal.RuntimeDelegateImpl())

      http://stackoverflow.com/questions/39382056/how-to-get-apache-camel-docker-component-to-work-in-osgi-or-jersey-does-not-wo

      Attachments

        Activity

          People

            Unassigned Unassigned
            philip142au Philip Andrew
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: