Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10050

camel-telegram not works on spring-boot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.3
    • fuse-7.3
    • Camel
    • None
    • % %
    • Fuse 7.3 Sprint 40 - Dev #1

    Description

      run attached reproducer

      2019-01-23 13:51:42.600  WARN 20483 --- [ #1 - timer://x] o.a.camel.component.timer.TimerConsumer  : Error processing exchange. Exchange[ID-localhost-localdomain-1548247900697-0-1]. Caused by: [org.apache.camel.CamelExecutionException - Exception occurred during execution on the exchange: Exchange[ID-localhost-localdomain-1548247900697-0-1]]
      
      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-localhost-localdomain-1548247900697-0-1]
              at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1846) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:385) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:64) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:197) [camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:79) [camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at java.util.TimerThread.mainLoop(Timer.java:555) [na:1.8.0_181]
              at java.util.TimerThread.run(Timer.java:505) [na:1.8.0_181]
      Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/client/CompletionStageRxInvoker
              at org.apache.cxf.jaxrs.client.JAXRSClientFactory.getBean(JAXRSClientFactory.java:380) ~[cxf-rt-rs-client-3.2.7.fuse-730011.jar:3.2.7.fuse-730011]
              at org.apache.cxf.jaxrs.client.JAXRSClientFactory.create(JAXRSClientFactory.java:170) ~[cxf-rt-rs-client-3.2.7.fuse-730011.jar:3.2.7.fuse-730011]
              at org.apache.cxf.jaxrs.client.JAXRSClientFactory.create(JAXRSClientFactory.java:126) ~[cxf-rt-rs-client-3.2.7.fuse-730011.jar:3.2.7.fuse-730011]
              at org.apache.camel.component.telegram.service.TelegramServiceRestBotAPIAdapter.<init>(TelegramServiceRestBotAPIAdapter.java:49) ~[camel-telegram-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.component.telegram.TelegramServiceProvider.<init>(TelegramServiceProvider.java:44) ~[camel-telegram-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.component.telegram.TelegramServiceProvider.<clinit>(TelegramServiceProvider.java:30) ~[camel-telegram-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.component.telegram.TelegramProducer.process(TelegramProducer.java:60) ~[camel-telegram-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.21.0.fuse-730033.jar:2.21.0.fuse-730033]
              ... 10 common frames omitted
      Caused by: java.lang.ClassNotFoundException: javax.ws.rs.client.CompletionStageRxInvoker
              at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_181]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_181]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_181]
              ... 18 common frames omitted
      

      Attachments

        Issue Links

          Activity

            People

              tcunning@redhat.com Thomas Cunningham
              jbouska@redhat.com Jan Bouska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: