athishsreeram commented on issue #1073: java.lang.NoSuchMethodError: 
com.javainuse.route.SimpleRouteBuilder.getContext()Lorg/apache/camel/model/ModelCamelContext;
URL: https://github.com/apache/camel-k/issues/1073#issuecomment-557839352
 
 
   Thanks i got you it worked i cleaned up something 
   
   https://github.com/athishsreeram/apache-camel-consume.git
   
   `
   kamel run -d mvn:org.apache.camel:camel-jackson:3.0.0-RC2 -d 
mvn:javax.ws.rs:jsr311-api:1.1.1 -d 
mvn:org.apache.camel:camel-netty-http:3.0.0-RC2 -d 
mvn:org.apache.camel:camel-swagger-java:3.0.0-RC2 SimpleRouteBuilder2.java --dev
   `
   
   I am able to launch success fully. 
   
   
   `2019-11-23 22:33:32.977 INFO  [main] DefaultCamelContext - Route: route2 
started and consuming from: direct://employees
   2019-11-23 22:33:32.980 INFO  [main] DefaultCamelContext - Route: route3 
started and consuming from: direct://employee1
   2019-11-23 22:33:33.026 INFO  [main] SingleTCPNettyServerBootstrapFactory - 
ServerBootstrap binding to 0.0.0.0:8080
   2019-11-23 22:33:33.131 INFO  [main] NettyHttpConsumer - Netty consumer 
bound to: 0.0.0.0:8080
   2019-11-23 22:33:33.134 INFO  [main] DefaultCamelContext - Route: route1 
started and consuming from: 
http://0.0.0.0:8080/camel/api-doc?httpMethodRestrict=GET
   2019-11-23 22:33:33.136 INFO  [main] NettyHttpConsumer - Netty consumer 
bound to: 0.0.0.0:8080
   2019-11-23 22:33:33.136 INFO  [main] DefaultCamelContext - Route: route4 
started and consuming from: 
http://0.0.0.0:8080/camel/say/employees?httpMethodRestrict=GET
   2019-11-23 22:33:33.138 INFO  [main] NettyHttpConsumer - Netty consumer 
bound to: 0.0.0.0:8080
   2019-11-23 22:33:33.138 INFO  [main] DefaultCamelContext - Route: route5 
started and consuming from: 
http://0.0.0.0:8080/camel/say/employees/1?httpMethodRestrict=GET
   2019-11-23 22:33:33.144 INFO  [main] DefaultCamelContext - Total 5 routes, 
of which 5 are started
   2019-11-23 22:33:33.151 INFO  [main] DefaultCamelContext - Apache Camel 
3.0.0-RC3 (CamelContext: camel-k) started in 0.587 seconds
   2019-11-23 22:33:33.154 INFO  [main] ApplicationRuntime - Listener 
org.apache.camel.k.listener.RoutesDumper@1ddf84b8 executed in phase Started`
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to