We are currently using Apache Camel 2.11.4, but we can migrate to 2.15.x

route
======
<route xmlns="http://camel.apache.org/schema/spring"; trace="true">
    <from uri="websocket://invokeService2/v1/helloWebsocket" />
        
    <transform>
               <groovy> Message received from WebSocket Client:${body} 
</groovy>
    </transform>
    
</route>


Exception 
==============
12:04:28.303 [com.att.ajsc.runner.Runner.main()] ERROR ajsc.ComputeService -
NMBS-COMPUTESVC-0042: addRoute for invokeService2:websocket:v1 failed  -
EXCEPTION: Failed to create route invokeService2:websocket:v1:
Route(invokeService2:websocket:v1)[[From[websocket://invokeS... because of
Failed to resolve endpoint: websocket://invokeService2/v1/helloWebsocket due
to: Cannot auto create component: websocket
CAUSED BY: java.lang.ClassNotFoundException:
org.eclipse.jetty.http.ssl.SslContextFactory  
STACKTRACE: at org.apache.camel.model.RouteDefinition(addRoutes:181)
at org.apache.camel.impl.DefaultCamelContext(startRoute:756)
at org.apache.camel.impl.DefaultCamelContext(startRouteDefinitions:1850)
at org.apache.camel.impl.DefaultCamelContext(addRouteDefinitions:693)
at org.apache.camel.model.ModelCamelContext$addRouteDefinitions(call:-1)
at ajsc.ComputeService(addRoute:778)
at ajsc.ComputeService$_init_closure15(doCall:876)
at ajsc.ComputeService(init:876)
at ajsc.ComputeService$init(call:-1)
at ajsc.RouteMgmtService(init:120)
at ajsc.RouteMgmtService$init(call:-1)
at ajsc.ContextMgr(onApplicationEvent:16)
at
org.springframework.context.event.SimpleApplicationEventMulticaster(multicastEvent:97)
at
org.springframework.context.support.AbstractApplicationContext(publishEvent:327)
at
org.springframework.context.support.AbstractApplicationContext(finishRefresh:941)
at
org.springframework.context.support.AbstractApplicationContext(refresh:475)




--
View this message in context: 
http://camel.465427.n5.nabble.com/websocket-with-jetty-9-tp5766712p5766780.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to