camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1244) Add shutdown hook to Main.main()
Date Tue, 13 Jan 2009 14:39:59 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48653#action_48653
] 

Claus Ibsen commented on CAMEL-1244:
------------------------------------

Willem I think we could add a Main option so you can enable/disable the shutdown hook, with
a sensible default. Maybe enabled.

And we might consider it overkill to add a Stopable interface, as its a JVM Shutdown.

I was wondering if Spring dont have something for this for people running Spring from a Main?

> Add shutdown hook to Main.main() 
> ---------------------------------
>
>                 Key: CAMEL-1244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1244
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Hari Gangadharan
>            Assignee: Willem Jiang
>            Priority: Trivial
>             Fix For: Future
>
>         Attachments: HangupInterceptor.java, patchfile, Stopable.java
>
>
> Add a shutdown hook to so that it shuts down gracefully on HUP signal.
> http://www.nabble.com/Two-questions%3A-Stopping-Camel-and-intercept-before-retry-td21323127s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message