camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hetmoteus <>
Subject SpringCamelContext onApplicationEvent not called with SpringBoot
Date Fri, 05 May 2017 12:45:54 GMT

I'm using SpringBoot with camel

CamelContext is auto configured via :

If I understand correctly the SpringCamelContext is instancied via
CamelAutoConfiguration class and not by CamelContextFactoryBean.

Since, the
SpringCamelContext doesn't implement ApplicationListener interface anymore.

It seems like onApplicationEvent is not called on the SpringCamelContext
which in my situation cause the AMQ ConnectionFactory to be destroyed before
the camel graceful shutdown.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message