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

Graceful shutdown doesn't work with spring boot camel cxf app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.2
    • fuse-7.1
    • FIS, FIS-Camel
    • None
    • % %
    • Hide
      1. Unzip graceful-shutdown.zip with two applications inside
      2. Deploy cxf-quickstart app (with terminationGracePeriodSeconds: 30)
      3. Send request on the route with
        curl http://<your-openshift-route>/rest/srv/count?count=5&cid=42&delay=20000
        
      4. Which will start the route and delays it for 20sec
      5. Wait eg. 10sec and kill the docker container with TERM signal with
        docker kill --signal=TERM <container-id>
        
      6. See that the response from the route was not successfull and try it again with camel-jetty (second app) and see it gives correct response
      Show
      Unzip graceful-shutdown.zip with two applications inside Deploy cxf-quickstart app (with terminationGracePeriodSeconds: 30) Send request on the route with curl http: //<your-openshift-route>/ rest /srv/count?count=5&cid=42&delay=20000 Which will start the route and delays it for 20sec Wait eg. 10sec and kill the docker container with TERM signal with docker kill --signal=TERM <container-id> See that the response from the route was not successfull and try it again with camel-jetty (second app) and see it gives correct response
    • Fuse 7.2 Sprint 36

    Description

      Graceful shutdown doesn't work with spring boot camel cxf app, while with jetty it works.

      Logs for cxf-quickstart

      Starting the Java application using /opt/run-java/run-java.sh ...
      exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=9779:/opt/prometheus/prometheus-config.yml -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp . -jar /deployments/cxf-quickstart.jar
      I> No access restrictor found, access to any MBean is allowed
      Jolokia: Agent started with URL https://10.129.0.50:8778/jolokia/
      
        .   ____          _            __ _ _
       /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
      ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
       \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
        '  |____| .__|_| |_|_| |_\__, | / / / /
       =========|_|==============|___/=/_/_/_/
       :: Spring Boot ::       (v1.5.13.RELEASE)
      
      08:03:59.737 [main] INFO  i.f.quickstarts.camelcdi.MyRoutes - Starting MyRoutes on cxf-quickstart-1-bvx75 with PID 1 (/deployments/cxf-quickstart.jar started by jboss in /deployments)
      08:03:59.745 [main] INFO  i.f.quickstarts.camelcdi.MyRoutes - No active profile set, falling back to default profiles: default
      08:04:00.039 [main] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9: startup date [Thu Jul 19 08:04:00 UTC 2018]; root of context hierarchy
      08:04:02.084 [background-preinit] INFO  o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.3.5.Final-redhat-2
      08:04:05.551 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$51511fcc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
      08:04:10.234 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 0 (http)
      08:04:10.324 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-auto-1"]
      08:04:10.342 [main] INFO  o.a.catalina.core.StandardService - Starting service Tomcat
      08:04:10.343 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.36
      08:04:10.635 [localhost-startStop-1] INFO  o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
      08:04:10.635 [localhost-startStop-1] INFO  o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 10614 ms
      08:04:11.228 [localhost-startStop-1] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]
      08:04:11.236 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'metricsFilter' to: [/*]
      08:04:11.236 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
      08:04:11.236 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
      08:04:11.236 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
      08:04:11.236 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
      08:04:11.237 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'webRequestLoggingFilter' to: [/*]
      08:04:11.237 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'applicationContextIdFilter' to: [/*]
      08:04:11.422 [main] INFO  i.f.q.camelcdi.DelayDeployment - No DEPLOYMENT_DELAY env set, not delaying deployment.
      08:04:12.303 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9: startup date [Thu Jul 19 08:04:00 UTC 2018]; root of context hierarchy
      08:04:12.556 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
      08:04:12.558 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
      08:04:12.710 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:04:12.710 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:04:12.879 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:04:15.808 [main] INFO  o.a.c.i.c.DefaultTypeConverter - Type converters loaded (core: 194, classpath: 22)
      08:04:19.897 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
      08:04:19.929 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Registering beans for JMX exposure on startup
      08:04:20.009 [main] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@106b014e: startup date [Thu Jul 19 08:04:20 UTC 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9
      08:04:20.241 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'handlerExceptionResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration; factoryMethodName=handlerExceptionResolver; initMethodName=null; destroyMethodName=(inferred); defined in org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=endpointWebMvcChildContextConfiguration; factoryMethodName=compositeHandlerExceptionResolver; initMethodName=null; destroyMethodName=(inferred); defined in org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration]
      08:04:20.460 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 8081 (http)
      08:04:20.462 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8081"]
      08:04:20.463 [main] INFO  o.a.catalina.core.StandardService - Starting service Tomcat
      08:04:20.463 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.36
      08:04:20.490 [localhost-startStop-1] INFO  o.a.c.c.C.[Tomcat-1].[localhost].[/] - Initializing Spring embedded WebApplicationContext
      08:04:20.491 [localhost-startStop-1] INFO  o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 482 ms
      08:04:20.496 [localhost-startStop-1] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]
      08:04:21.183 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.185 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
      08:04:21.187 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
      08:04:21.187 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.191 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
      08:04:21.191 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
      08:04:21.192 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.198 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/health/check/{id}/invoke],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.invoke(java.lang.String,java.util.Map<java.lang.String, java.lang.Object>)
      08:04:21.199 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/health/check/{id}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.query(java.lang.String,java.util.Map<java.lang.String, java.lang.Object>)
      08:04:21.199 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/health/check || /camel/health/check.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.202 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.204 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/route-controller || /camel/route-controller.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.205 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.206 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
      08:04:21.207 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.208 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
      08:04:21.210 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
      08:04:21.210 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.217 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/detail],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.detail(java.lang.String)
      08:04:21.218 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/start],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.start(java.lang.String)
      08:04:21.218 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.info(java.lang.String)
      08:04:21.219 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/stop],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.stop(java.lang.String,java.lang.Long,java.lang.Boolean)
      08:04:21.219 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/suspend],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.suspend(java.lang.String,java.lang.Long)
      08:04:21.219 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/resume],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.resume(java.lang.String)
      08:04:21.220 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/reset],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.reset(java.lang.String)
      08:04:21.220 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes || /camel/routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.221 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.221 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.222 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:04:21.274 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.boot.actuate.endpoint.mvc.ManagementErrorEndpoint.invoke()
      08:04:21.309 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:04:21.310 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:04:21.390 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@106b014e: startup date [Thu Jul 19 08:04:20 UTC 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9
      08:04:24.343 [main] INFO  o.a.c.spring.boot.RoutesCollector - Loading additional Camel XML routes from: classpath:camel/*.xml
      08:04:24.344 [main] INFO  o.a.c.spring.boot.RoutesCollector - Loading additional Camel XML rests from: classpath:camel-rest/*.xml
      08:04:24.348 [main] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelCxf) is starting
      08:04:24.350 [main] INFO  o.a.c.m.ManagedManagementStrategy - JMX is enabled
      08:04:25.173 [main] INFO  o.a.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
      08:04:26.423 [main] INFO  org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be http://0.0.0.0:8080/rest
      08:04:26.762 [main] INFO  o.a.c.spring.boot.RoutesCollector - Starting CamelMainRunController to ensure the main thread keeps running
      08:04:26.820 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @34045ms to org.eclipse.jetty.util.log.Slf4jLog
      08:04:27.048 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.10.v20180503; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_171-b10
      08:04:27.203 [main] INFO  o.e.jetty.server.AbstractConnector - Started ServerConnector@2d7637e6{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
      08:04:27.204 [main] INFO  org.eclipse.jetty.server.Server - Started @34429ms
      08:04:27.245 [main] WARN  o.e.j.server.handler.ContextHandler - Empty contextPath
      08:04:27.325 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@515b9d4a{/,null,AVAILABLE}
      08:04:27.325 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route1 started and consuming from: cxfrs://http://0.0.0.0:8080/rest?bindingStyle=SimpleConsumer&resourceClasses=io.fabric8.quickstarts.camelcdi.Service
      08:04:27.328 [main] INFO  o.a.camel.spring.SpringCamelContext - Total 1 routes, of which 1 are started
      08:04:27.343 [main] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelCxf) started in 2.981 seconds
      08:04:27.345 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8081"]
      08:04:27.346 [main] INFO  o.a.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
      08:04:27.411 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): 8081 (http)
      08:04:27.422 [main] INFO  o.s.c.s.DefaultLifecycleProcessor - Starting beans in phase 0
      08:04:27.425 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'auditEventsEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=auditEventsEndpoint]
      08:04:27.472 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'healthChecksEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=healthChecksEndpoint]
      08:04:27.502 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'routeControllerEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=routeControllerEndpoint]
      08:04:27.510 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'camelEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=camelEndpoint]
      08:04:27.515 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'requestMappingEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=requestMappingEndpoint]
      08:04:27.557 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'environmentEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=environmentEndpoint]
      08:04:27.562 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'healthEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=healthEndpoint]
      08:04:27.583 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'beansEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=beansEndpoint]
      08:04:27.607 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'infoEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=infoEndpoint]
      08:04:27.612 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'loggersEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=loggersEndpoint]
      08:04:27.630 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'metricsEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=metricsEndpoint]
      08:04:27.650 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'traceEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=traceEndpoint]
      08:04:27.653 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'dumpEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=dumpEndpoint]
      08:04:27.672 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'autoConfigurationReportEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=autoConfigurationReportEndpoint]
      08:04:27.682 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'configurationPropertiesReportEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=configurationPropertiesReportEndpoint]
      08:04:27.757 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-auto-1"]
      08:04:27.790 [main] INFO  o.a.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
      08:04:27.792 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-auto-1-40365"]
      08:04:27.802 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): -1 (http)
      08:04:27.807 [main] INFO  i.f.quickstarts.camelcdi.MyRoutes - Started MyRoutes in 30.458 seconds (JVM running for 35.032)
      08:04:36.230 [qtp1437396121-41] INFO  route1 - Request: type='list', body=''
      08:04:39.142 [qtp1437396121-36] INFO  route1 - Request: type='list', body=''
      08:04:41.121 [qtp1437396121-40] INFO  route1 - Request: type='list', body=''
      08:04:43.089 [qtp1437396121-42] INFO  route1 - Request: type='list', body=''
      08:04:45.096 [qtp1437396121-41] INFO  route1 - Request: type='list', body=''
      08:04:47.103 [qtp1437396121-42] INFO  route1 - Request: type='list', body=''
      08:04:49.079 [qtp1437396121-40] INFO  route1 - Request: type='list', body=''
      08:04:51.167 [qtp1437396121-41] INFO  route1 - Request: type='list', body=''
      08:04:53.134 [qtp1437396121-42] INFO  route1 - Request: type='list', body=''
      08:04:55.106 [qtp1437396121-41] INFO  route1 - Request: type='list', body=''
      08:04:56.097 [qtp1437396121-40] INFO  route1 - Request: type='count', body='112,0,112'
      08:04:56.098 [qtp1437396121-40] INFO  route1 - count before delay 112 113
      08:04:56.099 [qtp1437396121-40] INFO  route1 - count after delay 112 113
      08:04:57.381 [qtp1437396121-42] INFO  route1 - Request: type='count', body='112,0,112'
      08:04:57.382 [qtp1437396121-42] INFO  route1 - count before delay 112 113
      08:04:57.382 [qtp1437396121-42] INFO  route1 - count after delay 112 113
      08:04:58.846 [qtp1437396121-41] INFO  route1 - Request: type='count', body='112,0,112'
      08:04:58.847 [qtp1437396121-41] INFO  route1 - count before delay 112 113
      08:04:58.847 [qtp1437396121-41] INFO  route1 - count after delay 112 113
      08:05:00.139 [qtp1437396121-40] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:00.140 [qtp1437396121-40] INFO  route1 - count before delay 112 113
      08:05:00.140 [qtp1437396121-40] INFO  route1 - count after delay 112 113
      08:05:01.417 [qtp1437396121-42] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:01.418 [qtp1437396121-42] INFO  route1 - count before delay 112 113
      08:05:01.419 [qtp1437396121-42] INFO  route1 - count after delay 112 113
      08:05:02.700 [qtp1437396121-41] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:02.702 [qtp1437396121-41] INFO  route1 - count before delay 112 113
      08:05:02.702 [qtp1437396121-41] INFO  route1 - count after delay 112 113
      08:05:03.982 [qtp1437396121-40] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:03.983 [qtp1437396121-40] INFO  route1 - count before delay 112 113
      08:05:03.990 [qtp1437396121-40] INFO  route1 - count after delay 112 113
      08:05:05.267 [qtp1437396121-42] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:05.268 [qtp1437396121-42] INFO  route1 - count before delay 112 113
      08:05:05.268 [qtp1437396121-42] INFO  route1 - count after delay 112 113
      08:05:07.115 [qtp1437396121-41] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:07.116 [qtp1437396121-41] INFO  route1 - count before delay 112 113
      08:05:07.116 [qtp1437396121-41] INFO  route1 - count after delay 112 113
      08:05:08.399 [qtp1437396121-42] INFO  route1 - Request: type='count', body='112,0,112'
      08:05:08.400 [qtp1437396121-42] INFO  route1 - count before delay 112 113
      08:05:08.400 [qtp1437396121-42] INFO  route1 - count after delay 112 113
      08:05:10.684 [qtp1437396121-40] INFO  route1 - Request: type='count', body='5,20000,42'
      08:05:10.685 [qtp1437396121-40] INFO  route1 - count before delay 42 6
      08:05:23.990 [Thread-20] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9: startup date [Thu Jul 19 08:04:00 UTC 2018]; root of context hierarchy
      08:05:23.991 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.c.m.MainSupport$HangupInterceptor - Received hang up - stopping the main instance.
      08:05:23.992 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelCxf) is shutting down
      08:05:23.993 [Thread-20] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@106b014e: startup date [Thu Jul 19 08:04:20 UTC 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9
      08:05:23.994 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.c.impl.DefaultShutdownStrategy - Starting to graceful shutdown 1 routes (timeout 300 seconds)
      08:05:24.039 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@515b9d4a{/,null,UNAVAILABLE}
      08:05:24.040 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route1 shutdown complete, was consuming from: cxfrs://http://0.0.0.0:8080/rest?bindingStyle=SimpleConsumer&resourceClasses=io.fabric8.quickstarts.camelcdi.Service
      08:05:24.042 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 300 seconds. Inflights per route: [route1 = 1]
      08:05:24.083 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=13399]
      08:05:24.150 [Thread-20] INFO  o.s.c.s.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
      08:05:24.150 [Thread-20] INFO  o.s.c.s.DefaultLifecycleProcessor - Stopping beans in phase 0
      08:05:24.160 [Thread-20] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Unregistering JMX-exposed beans on shutdown
      08:05:24.160 [Thread-20] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Unregistering JMX-exposed beans
      08:05:24.161 [Thread-20] INFO  o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
      08:05:25.083 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 299 seconds. Inflights per route: [route1 = 1]
      08:05:25.083 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=14399]
      08:05:26.084 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 298 seconds. Inflights per route: [route1 = 1]
      08:05:26.084 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=15400]
      08:05:27.085 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 297 seconds. Inflights per route: [route1 = 1]
      08:05:27.085 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=16401]
      08:05:28.086 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 296 seconds. Inflights per route: [route1 = 1]
      08:05:28.086 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=17402]
      08:05:29.086 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 295 seconds. Inflights per route: [route1 = 1]
      08:05:29.087 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=18403]
      08:05:30.087 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 294 seconds. Inflights per route: [route1 = 1]
      08:05:30.087 [Camel (CamelCxf) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-cxf-quickstart-1-bvx75-1531987455327-0-41, fromRouteId=route1, routeId=route1, nodeId=delay2, elapsed=0, duration=19403]
      08:05:31.088 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.c.impl.DefaultShutdownStrategy - Graceful shutdown of 1 routes completed in 7 seconds
      08:05:31.097 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.main.MainLifecycleStrategy - CamelContext: CamelCxf has been shutdown, triggering shutdown of the JVM.
      08:05:31.098 [Camel Thread #1 - CamelHangupInterceptor] WARN  o.a.c.impl.DefaultInflightRepository - Shutting down while there are still 1 inflight exchanges.
      08:05:31.101 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelCxf) uptime 1 minute
      08:05:31.101 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelCxf) is shutdown in 7.109 seconds
      

      Response from curl

      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
      <title>Error 404 Not Found</title>
      </head>
      <body><h2>HTTP ERROR 404</h2>
      <p>Problem accessing /rest/srv/count. Reason:
      <pre>    Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.10.v20180503</a><hr/>
      
      </body>
      </html>
      

      And logs for camel-jetty

      Starting the Java application using /opt/run-java/run-java.sh ...
      exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=9779:/opt/prometheus/prometheus-config.yml -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp . -jar /deployments/camel-jetty.jar
      I> No access restrictor found, access to any MBean is allowed
      Jolokia: Agent started with URL https://10.129.0.111:8778/jolokia/
      
        .   ____          _            __ _ _
       /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
      ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
       \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
        '  |____| .__|_| |_|_| |_\__, | / / / /
       =========|_|==============|___/=/_/_/_/
       :: Spring Boot ::       (v1.5.13.RELEASE)
      
      08:54:14.279 [main] INFO  c.r.xpaas.camel.jetty.JettyRoute - Starting JettyRoute on camel-jetty-1-5tshh with PID 1 (/deployments/camel-jetty.jar started by jboss in /deployments)
      08:54:14.285 [main] INFO  c.r.xpaas.camel.jetty.JettyRoute - No active profile set, falling back to default profiles: default
      08:54:14.527 [main] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9: startup date [Thu Jul 19 08:54:14 UTC 2018]; root of context hierarchy
      08:54:16.365 [background-preinit] INFO  o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.3.5.Final-redhat-2
      08:54:19.162 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$2d7dc343] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
      08:54:20.806 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 0 (http)
      08:54:20.903 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-auto-1"]
      08:54:20.922 [main] INFO  o.a.catalina.core.StandardService - Starting service Tomcat
      08:54:20.923 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.36
      08:54:21.166 [localhost-startStop-1] INFO  o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
      08:54:21.167 [localhost-startStop-1] INFO  o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 6654 ms
      08:54:21.683 [localhost-startStop-1] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]
      08:54:21.694 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'metricsFilter' to: [/*]
      08:54:21.695 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
      08:54:21.695 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
      08:54:21.695 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
      08:54:21.695 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
      08:54:21.695 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'webRequestLoggingFilter' to: [/*]
      08:54:21.695 [localhost-startStop-1] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'applicationContextIdFilter' to: [/*]
      08:54:23.307 [main] WARN  o.a.c.i.DefaultCamelBeanPostProcessor - No CamelContext defined yet so cannot inject into bean: routesHealthCheckRepository
      08:54:24.441 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9: startup date [Thu Jul 19 08:54:14 UTC 2018]; root of context hierarchy
      08:54:24.646 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
      08:54:24.648 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
      08:54:24.725 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:54:24.725 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:54:24.824 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:54:25.026 [main] INFO  o.a.c.i.c.DefaultTypeConverter - Type converters loaded (core: 194, classpath: 8)
      08:54:27.878 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
      08:54:27.891 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Registering beans for JMX exposure on startup
      08:54:27.897 [main] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@ab24484: startup date [Thu Jul 19 08:54:27 UTC 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9
      08:54:27.979 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'handlerExceptionResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration; factoryMethodName=handlerExceptionResolver; initMethodName=null; destroyMethodName=(inferred); defined in org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=endpointWebMvcChildContextConfiguration; factoryMethodName=compositeHandlerExceptionResolver; initMethodName=null; destroyMethodName=(inferred); defined in org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration]
      08:54:28.079 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 8081 (http)
      08:54:28.081 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8081"]
      08:54:28.081 [main] INFO  o.a.catalina.core.StandardService - Starting service Tomcat
      08:54:28.082 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.36
      08:54:28.093 [localhost-startStop-1] INFO  o.a.c.c.C.[Tomcat-1].[localhost].[/] - Initializing Spring embedded WebApplicationContext
      08:54:28.093 [localhost-startStop-1] INFO  o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 196 ms
      08:54:28.097 [localhost-startStop-1] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]
      08:54:28.312 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/route-controller || /camel/route-controller.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.313 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.316 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
      08:54:28.317 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
      08:54:28.317 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.318 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
      08:54:28.320 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
      08:54:28.321 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.335 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/detail],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.detail(java.lang.String)
      08:54:28.336 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/start],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.start(java.lang.String)
      08:54:28.336 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.info(java.lang.String)
      08:54:28.337 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/stop],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.stop(java.lang.String,java.lang.Long,java.lang.Boolean)
      08:54:28.337 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/suspend],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.suspend(java.lang.String,java.lang.Long)
      08:54:28.338 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/resume],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.resume(java.lang.String)
      08:54:28.338 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes/{id}/reset],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.reset(java.lang.String)
      08:54:28.338 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/routes || /camel/routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.339 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.340 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.341 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
      08:54:28.342 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.344 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/health/check/{id}/invoke],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.invoke(java.lang.String,java.util.Map<java.lang.String, java.lang.Object>)
      08:54:28.345 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/health/check/{id}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.query(java.lang.String,java.util.Map<java.lang.String, java.lang.Object>)
      08:54:28.345 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/camel/health/check || /camel/health/check.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.347 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
      08:54:28.348 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
      08:54:28.348 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.349 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.350 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.351 [main] INFO  o.s.b.a.e.mvc.EndpointHandlerMapping - Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
      08:54:28.376 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.boot.actuate.endpoint.mvc.ManagementErrorEndpoint.invoke()
      08:54:28.387 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:54:28.387 [main] INFO  o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      08:54:28.427 [main] INFO  o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@ab24484: startup date [Thu Jul 19 08:54:27 UTC 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9
      08:54:28.678 [main] INFO  o.a.c.spring.boot.RoutesCollector - Loading additional Camel XML routes from: classpath:camel/*.xml
      08:54:28.678 [main] INFO  o.a.c.spring.boot.RoutesCollector - Loading additional Camel XML rests from: classpath:camel-rest/*.xml
      08:54:28.683 [main] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelJetty) is starting
      08:54:28.684 [main] INFO  o.a.c.m.ManagedManagementStrategy - JMX is enabled
      08:54:29.433 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @19855ms to org.eclipse.jetty.util.log.Slf4jLog
      08:54:29.783 [main] INFO  o.a.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
      08:54:30.025 [main] INFO  o.a.c.spring.boot.RoutesCollector - Starting CamelMainRunController to ensure the main thread keeps running
      08:54:30.027 [main] INFO  o.a.c.c.jackson.JacksonDataFormat - Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@54a67a45
      08:54:30.045 [main] INFO  o.a.c.c.jackson.JacksonDataFormat - Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@54a67a45
      08:54:30.046 [main] INFO  o.a.c.c.jackson.JacksonDataFormat - Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@54a67a45
      08:54:30.047 [main] INFO  o.a.c.c.jackson.JacksonDataFormat - Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@54a67a45
      08:54:30.550 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.10.v20180503; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_171-b10
      08:54:30.661 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@4f93bf0a{/,null,AVAILABLE}
      08:54:30.679 [main] INFO  o.e.jetty.server.AbstractConnector - Started ServerConnector@733fb462{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
      08:54:30.680 [main] INFO  org.eclipse.jetty.server.Server - Started @21103ms
      08:54:30.694 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route3 started and consuming from: jetty:http://0.0.0.0:8080/camel/hello
      08:54:30.698 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route4 started and consuming from: jetty:http://0.0.0.0:8080/srv/count
      08:54:30.700 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route5 started and consuming from: jetty:http://0.0.0.0:8080/srv/delay
      08:54:30.703 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route6 started and consuming from: jetty:http://0.0.0.0:8080/greeting
      08:54:30.712 [main] INFO  o.a.c.util.jsse.SSLContextParameters - Available providers: SUN version 1.8.
      08:54:31.870 [main] INFO  o.a.c.c.jetty9.JettyHttpComponent9 - Connector on port: 8443 is using includeCipherSuites: [] excludeCipherSuites: [^.*_(MD5|SHA|SHA1)$] includeProtocols: [] excludeProtocols: [SSL, SSLv2, SSLv2Hello, SSLv3]
      08:54:31.870 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.10.v20180503; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_171-b10
      08:54:31.874 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@2b44d6d0{/,null,AVAILABLE}
      08:54:31.907 [main] INFO  o.e.jetty.server.AbstractConnector - Started ServerConnector@3e900e1a{ssl,[ssl, http/1.1]}{0.0.0.0:8443}
      08:54:31.907 [main] INFO  org.eclipse.jetty.server.Server - Started @22330ms
      08:54:31.908 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route7 started and consuming from: jetty:https://0.0.0.0:8443/greeting
      08:54:31.926 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route1 started and consuming from: jetty:http://0.0.0.0:8080/rest/user/employee?httpMethodRestrict=POST
      08:54:31.929 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: route2 started and consuming from: jetty:http://0.0.0.0:8080/rest/country/origin?httpMethodRestrict=POST
      08:54:31.930 [main] INFO  o.a.camel.spring.SpringCamelContext - Total 7 routes, of which 7 are started
      08:54:31.932 [main] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelJetty) started in 3.248 seconds
      08:54:31.933 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8081"]
      08:54:31.934 [main] INFO  o.a.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
      08:54:32.035 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): 8081 (http)
      08:54:32.053 [main] INFO  o.s.c.s.DefaultLifecycleProcessor - Starting beans in phase 0
      08:54:32.056 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'auditEventsEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=auditEventsEndpoint]
      08:54:32.146 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'healthChecksEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=healthChecksEndpoint]
      08:54:32.182 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'routeControllerEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=routeControllerEndpoint]
      08:54:32.208 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'camelEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=camelEndpoint]
      08:54:32.232 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'requestMappingEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=requestMappingEndpoint]
      08:54:32.242 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'environmentEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=environmentEndpoint]
      08:54:32.260 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'healthEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=healthEndpoint]
      08:54:32.264 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'beansEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=beansEndpoint]
      08:54:32.268 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'infoEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=infoEndpoint]
      08:54:32.273 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'loggersEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=loggersEndpoint]
      08:54:32.285 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'metricsEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=metricsEndpoint]
      08:54:32.289 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'traceEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=traceEndpoint]
      08:54:32.295 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'dumpEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=dumpEndpoint]
      08:54:32.299 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'autoConfigurationReportEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=autoConfigurationReportEndpoint]
      08:54:32.303 [main] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Located managed bean 'configurationPropertiesReportEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=configurationPropertiesReportEndpoint]
      08:54:32.356 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-auto-1"]
      08:54:32.357 [main] INFO  o.a.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
      08:54:32.360 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-auto-1-40072"]
      08:54:32.363 [main] INFO  o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): -1 (http)
      08:54:32.368 [main] INFO  c.r.xpaas.camel.jetty.JettyRoute - Started JettyRoute in 19.084 seconds (JVM running for 22.791)
      08:54:51.215 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:51.219 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:54:52.500 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:52.500 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:54:53.848 [qtp1726092648-34] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:53.849 [qtp1726092648-34] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:54:55.999 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:55.999 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:54:57.299 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:57.300 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:54:58.579 [qtp1726092648-34] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:58.579 [qtp1726092648-34] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:54:59.850 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:54:59.850 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:55:01.170 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:55:01.231 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:55:02.512 [qtp1726092648-34] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:55:02.512 [qtp1726092648-34] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:55:03.792 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 112 113
      08:55:03.793 [qtp1726092648-38] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 112 113
      08:55:06.122 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count before delay 42 6
      08:55:18.327 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.c.m.MainSupport$HangupInterceptor - Received hang up - stopping the main instance.
      08:55:18.327 [Thread-27] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9: startup date [Thu Jul 19 08:54:14 UTC 2018]; root of context hierarchy
      08:55:18.327 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelJetty) is shutting down
      08:55:18.329 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.c.impl.DefaultShutdownStrategy - Starting to graceful shutdown 7 routes (timeout 300 seconds)
      08:55:18.330 [Thread-27] INFO  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@ab24484: startup date [Thu Jul 19 08:54:27 UTC 2018]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@657c8ad9
      08:55:18.338 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 300 seconds. Inflights per route: [route4 = 1]
      08:55:18.354 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=12233]
      08:55:18.414 [Thread-27] INFO  o.s.c.s.DefaultLifecycleProcessor - Stopping beans in phase 2147483647
      08:55:18.415 [Thread-27] INFO  o.s.c.s.DefaultLifecycleProcessor - Stopping beans in phase 0
      08:55:18.416 [Thread-27] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Unregistering JMX-exposed beans on shutdown
      08:55:18.416 [Thread-27] INFO  o.s.b.a.e.jmx.EndpointMBeanExporter - Unregistering JMX-exposed beans
      08:55:18.417 [Thread-27] INFO  o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
      08:55:19.354 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 299 seconds. Inflights per route: [route4 = 1]
      08:55:19.355 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=13234]
      08:55:20.355 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 298 seconds. Inflights per route: [route4 = 1]
      08:55:20.356 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=14235]
      08:55:21.356 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 297 seconds. Inflights per route: [route4 = 1]
      08:55:21.356 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=15235]
      08:55:22.357 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 296 seconds. Inflights per route: [route4 = 1]
      08:55:22.357 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=16236]
      08:55:23.360 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 295 seconds. Inflights per route: [route4 = 1]
      08:55:23.360 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=17239]
      08:55:24.360 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 294 seconds. Inflights per route: [route4 = 1]
      08:55:24.361 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=18240]
      08:55:25.361 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 293 seconds. Inflights per route: [route4 = 1]
      08:55:25.362 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - There are 1 inflight exchanges:
      	InflightExchange: [exchangeId=ID-camel-jetty-1-5tshh-1531990462224-0-31, fromRouteId=route4, routeId=route4, nodeId=process1, elapsed=0, duration=19241]
      08:55:26.122 [qtp1726092648-40] INFO  c.r.x.camel.jetty.CounterProcessor - count after delay 42 6
      08:55:26.362 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route2 shutdown complete, was consuming from: jetty:http://0.0.0.0:8080/rest/country/origin?httpMethodRestrict=POST
      08:55:26.362 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route1 shutdown complete, was consuming from: jetty:http://0.0.0.0:8080/rest/user/employee?httpMethodRestrict=POST
      08:55:26.368 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.e.jetty.server.AbstractConnector - Stopped ServerConnector@3e900e1a{ssl,[ssl, http/1.1]}{0.0.0.0:8443}
      08:55:26.372 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@2b44d6d0{/,null,UNAVAILABLE}
      08:55:26.379 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route7 shutdown complete, was consuming from: jetty:https://0.0.0.0:8443/greeting
      08:55:26.379 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route6 shutdown complete, was consuming from: jetty:http://0.0.0.0:8080/greeting
      08:55:26.380 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route5 shutdown complete, was consuming from: jetty:http://0.0.0.0:8080/srv/delay
      08:55:26.380 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route4 shutdown complete, was consuming from: jetty:http://0.0.0.0:8080/srv/count
      08:55:26.382 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.e.jetty.server.AbstractConnector - Stopped ServerConnector@733fb462{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
      08:55:26.383 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@4f93bf0a{/,null,UNAVAILABLE}
      08:55:26.386 [Camel (CamelJetty) thread #2 - ShutdownTask] INFO  o.a.c.impl.DefaultShutdownStrategy - Route: route3 shutdown complete, was consuming from: jetty:http://0.0.0.0:8080/camel/hello
      08:55:26.387 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.c.impl.DefaultShutdownStrategy - Graceful shutdown of 7 routes completed in 8 seconds
      08:55:26.403 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.main.MainLifecycleStrategy - CamelContext: CamelJetty has been shutdown, triggering shutdown of the JVM.
      08:55:26.411 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelJetty) uptime 57.729 seconds
      08:55:26.412 [Camel Thread #1 - CamelHangupInterceptor] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.21.0.fuse-710008 (CamelContext: CamelJetty) is shutdown in 8.085 seconds
      

      With expected response of curl

      45043a02-33ee-4d4b-83fb-a166d60c730b 6
      

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: