Hi

You can try to debug and set a breakpoint and see maybe if there is
some way to know.

Also how do you run your cdi app.

On Thu, Dec 5, 2019 at 1:10 PM Dennis Holunder <dennish...@gmail.com> wrote:
>
> Hi,
>
> I'm trying to migrate a CDI Route to camel-3 and seeing in log that
> the route is starting graceful shutdown right after start.
>
> 12:04:00 [main] INFO  o.a.camel.impl.DefaultCamelContext  Apache Camel
> 3.0.0 (CamelContext: camel-1) started in 3.683 seconds
> 12:04:00 [main] DEBUG o.a.c.c.quartz.QuartzComponent  Storing
> camelContextName=camel-1 into Quartz Context space.
> 12:04:00 [main] INFO  o.a.c.c.quartz.QuartzComponent  Starting scheduler.
> 12:04:00 [main] INFO  org.quartz.core.QuartzScheduler  Scheduler
> DefaultQuartzScheduler-camel-1_$_NON_CLUSTERED started.
> 12:04:00 [DefaultQuartzScheduler-camel-1_QuartzSchedulerThread] DEBUG
> o.quartz.core.QuartzSchedulerThread  batch acquisition of 0 triggers
> 12:04:01 [main] DEBUG o.a.c.c.p.PropertiesComponent  Parsed location:
> application.properties
> 12:04:01 [main] INFO  o.apache.camel.main.BaseMainSupport  Using
> properties from classpath:application.properties
> 12:04:01 [main] DEBUG o.apache.camel.main.BaseMainSupport  Properties
> from Camel properties component:
> 12:04:01 [main] DEBUG o.a.c.i.e.DefaultStreamCachingStrategy
> StreamCaching is not enabled
> 12:04:01 [main] DEBUG o.apache.camel.main.RoutesConfigurer
> RoutesCollectorEnabled:
> org.apache.camel.main.DefaultRoutesCollector@28393e82
> 12:04:01 [main] DEBUG o.a.c.main.DefaultRoutesCollector  Java
> RoutesBuilder: com/company/MyRoute$Proxy$_$$_WeldClientProxy accepted
> by include/exclude filter: true
>
> 12:04:01 [main] DEBUG o.apache.camel.main.RoutesConfigurer  Adding
> routes into CamelContext from RoutesBuilder: Routes: (list of routes
> removed by me)
> 12:04:01 [main] DEBUG o.a.camel.impl.DefaultCamelContext  Adding
> routes from builder: Routes: (list of routes removed by me)
> 12:04:01 [main] INFO  o.a.c.i.e.DefaultShutdownStrategy  Starting to
> graceful shutdown 1 routes (timeout 300 seconds)
>
> I tried to create a small reproducer project, but it is working fine.
> Is there a way to find out what is triggering the shutdown?
>
> Dan



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to