camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From habdank <habd...@gmail.com>
Subject How to get detailed information about the shutdown reason?
Date Wed, 05 Oct 2016 11:51:06 GMT
Dears,

I am using Camel 2.17. I had defined some routes, these routes contain
entries to log:

.to ("log:org.apache.camel?level=DEBUG")

In the logback configuration I had placed:

<logger name="org.apache.camel" level="TRACE" />

The camel context xml file contains:

<camel:camelContext id="someContext" ... trace="true">

When I am starting Camel, then I see Camel is proceeding and finally without
ANY error report just shutting down. This looks like:

2016-10-04 13:40:58,042 [localhost-startStop-1] DEBUG
org.apache.camel.spring.SpringCamelContext - onApplicationEvent:
org.springframework.context.event.ContextClosedEvent[source=Root
WebApplicationContext: *startup date [Tue Oct 04 13:37:25 CEST 2016]*; root
of context hierarchy]
2016-10-04 13:40:58,066 [localhost-startStop-1] INFO 
org.apache.camel.spring.SpringCamelContext - Apache Camel 2.17.3
(CamelContext: someContext) *is shutting down*

Is there any generic way to check what is going on out there? For example:

    Is there any class missing and class loader fails?
    Or is any exception thrown?
    Or some connection fails?

Best regards,
Seweryn.




--
View this message in context: http://camel.465427.n5.nabble.com/How-to-get-detailed-information-about-the-shutdown-reason-tp5788387.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message