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

Camel-Undertow doesn't work in OSGi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-undertow
    • None
    • Unknown

    Description

      Actually camel-undertow doesn't work in OSGi.

      java.lang.IllegalArgumentException: UT001031: Unknown scheme in URI http://localhost:8010/test
      	at io.undertow.client.UndertowClient.getClientProvider(UndertowClient.java:163) [26:io.undertow.core:1.4.18.Final]
      

      Because it is using

      UndertowClient.getInstance(getCamelContext().getApplicationContextClassLoader())
      

      and it cannot find its providers. We should use

      UndertowClient.getInstance()
      

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            acosentino Andrea Cosentino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: