You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/10/12 18:10:48 UTC

[GitHub] [camel-quarkus] iqnev opened a new issue #3179: [Quarkus 2.3.0.Final] quarkus.camel.main.shutdown.timeout doesn't work as intended

iqnev opened a new issue #3179:
URL: https://github.com/apache/camel-quarkus/issues/3179


   The property 
   
   > quarkus.camel.main.shutdown.timeout
   
     doesn't work when I tried to configure my application. Also I  tried with the following code to set graceful shutdown but It doesn't work, too.
   ```
   camelContext
           .getShutdownStrategy()
           .setTimeout(66); 
   ```
   
   While I was debugging my Camel application I realized, that the default graceful shutdown strategy is 
   
   > NoShutdownStrategy
   
   In Apache Camel the default strategy  is https://camel.apache.org/manual/latest/graceful-shutdown.html#_implementing_custom_component_or_shutdownstrategy
   
   > DefaultShutdownStrategy


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton closed issue #3179: `quarkus.camel.main.shutdown.timeout` doesn't work as intended

Posted by GitBox <gi...@apache.org>.
jamesnetherton closed issue #3179:
URL: https://github.com/apache/camel-quarkus/issues/3179


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] iqnev commented on issue #3179: `quarkus.camel.main.shutdown.timeout` doesn't work as intended

Posted by GitBox <gi...@apache.org>.
iqnev commented on issue #3179:
URL: https://github.com/apache/camel-quarkus/issues/3179#issuecomment-982412693


   @JiriOndrusek Thanks! I will try it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] JiriOndrusek commented on issue #3179: `quarkus.camel.main.shutdown.timeout` doesn't work as intended

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on issue #3179:
URL: https://github.com/apache/camel-quarkus/issues/3179#issuecomment-982379455


   @iqnev It is possible to set graceful shudown via property
   ```
   camel.main.shutdownTimeout = 15
   ```
   or via camel context.
   ```
   camelContext
           .getShutdownStrategy()
           .setTimeout(66);
   ```
   
   In development mode `NoShutdownStrategy` is used.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org