You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/04/09 14:07:08 UTC

[jira] Created: (CAMEL-2628) Uptime - Show uptime in JMX and when Camel is shutting down

Uptime - Show uptime in JMX and when Camel is shutting down
-----------------------------------------------------------

                 Key: CAMEL-2628
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2628
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
            Priority: Minor


It would be great if we add uptime to show how long CamelContext has been started.

1) It should display that in JMX so you can see the current uptime.
2) And when CamelContext is shutting down it should display the uptime as well, so you can see how long it was up for.

It should be formatted nicely like
{code}
3 days, 6 hours, 37 minutes, 6 seconds.
{code}

And the code should be in camel-core in a util class, for example the StopWatch.


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


[jira] Commented: (CAMEL-2628) Uptime - Show uptime in JMX and when Camel is shutting down

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58728#action_58728 ] 

Claus Ibsen commented on CAMEL-2628:
------------------------------------

btw it helps when you run in one of those big containers where you hot deploy your Camel apps. Then the JVM uptime is not the same as your app uptime

> Uptime - Show uptime in JMX and when Camel is shutting down
> -----------------------------------------------------------
>
>                 Key: CAMEL-2628
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2628
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Minor
>
> It would be great if we add uptime to show how long CamelContext has been started.
> 1) It should display that in JMX so you can see the current uptime.
> 2) And when CamelContext is shutting down it should display the uptime as well, so you can see how long it was up for.
> It should be formatted nicely like
> {code}
> 3 days, 6 hours, 37 minutes, 6 seconds.
> {code}
> And the code should be in camel-core in a util class, for example the StopWatch.

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


[jira] Resolved: (CAMEL-2628) Uptime - Show uptime in JMX and when Camel is shutting down

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2628.
--------------------------------

         Assignee: Claus Ibsen
    Fix Version/s: 2.4.0
       Resolution: Fixed

trunk: 952644.

> Uptime - Show uptime in JMX and when Camel is shutting down
> -----------------------------------------------------------
>
>                 Key: CAMEL-2628
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2628
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> It would be great if we add uptime to show how long CamelContext has been started.
> 1) It should display that in JMX so you can see the current uptime.
> 2) And when CamelContext is shutting down it should display the uptime as well, so you can see how long it was up for.
> It should be formatted nicely like
> {code}
> 3 days, 6 hours, 37 minutes, 6 seconds.
> {code}
> And the code should be in camel-core in a util class, for example the StopWatch.

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