Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.18.1
-
None
-
Unknown
Description
In my main application, I can override the timeout by declaring my own ShutdownStrategy bean and setting the timeout property. However this seems to be ignored during unit tests and always uses 10s timeouts.
The bean is certainly being picked up because I see the following logging
org.apache.camel.spring.boot.CamelAutoConfiguration - Using custom ShutdownStrategy: org.apache.camel.impl.DefaultShutdownStrategy@5b8b9b2d
This is preventing me from doing any debugging during unit tests as it will always end the jvm before I can inspect anything.
Attachments
Issue Links
- relates to
-
CAMEL-10619 Add spring boot configuration for configuring shutdown options
- Resolved