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

Spring route cannot resolve named processor any more

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.3.0
    • 3.4.0
    • camel-spring
    • None
    • Unknown

    Description

      A route like this

              <!-- consumer route (providing the actual web service) -->
              <route>
                  <from uri="spring-ws:soapaction:http://www.stockquotes.edu/GetQuote?endpointMapping=#endpointMapping"/>
                  <to uri="responseProcessor"/>
              </route>
      
      

      fails to start in camel-3.3.0 with ...

      Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route8 at: >>> To[responseProcessor] <<< in route: Route(route8)[From[spring-ws:soapaction:http://www.stockquot... because of No endpoint could be found for: #responseProcessor, please check your classpath contains the needed Camel component jar.
      	at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:393)
      	at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:117)
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:374)
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:348)
      	at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2617)
      	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
      	at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2450)
      	at org.apache.camel.support.service.BaseService.start(BaseService.java:111)
      	at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2467)
      	at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:121)
      	at org.wildfly.extension.camel.service.CamelContextActivationService$1.run(CamelContextActivationService.java:63)
      	at org.wildfly.camel.proxy.ProxyUtils$1.invoke(ProxyUtils.java:51)
      	at com.sun.proxy.$Proxy59.run(Unknown Source)
      	at org.wildfly.camel.proxy.ProxyUtils.invokeProxied(ProxyUtils.java:55)
      	at org.wildfly.extension.camel.service.CamelContextActivationService.start(CamelContextActivationService.java:60)
      	... 8 more
      Caused by: org.apache.camel.NoSuchEndpointException: No endpoint could be found for: responseProcessor, please check your classpath contains the needed Camel component jar.
      	at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:829)
      	at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:766)
      	at org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:122)
      	at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:43)
      	at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:36)
      	at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:766)
      	at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:511)
      	at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:391)
      	... 22 more
      

      The migration guide doesn't mention required changes in this area AFAICS.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: