show the time to timeout while waiting for graceful shutdown
------------------------------------------------------------

                 Key: CAMEL-3000
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3000
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.4.0
            Reporter: Karl Palsson
            Priority: Trivial


When the default shutdown kicks in, and tries to gracefully shutdown, it would 
be nice to know when it will finish, if at all.

Instead of showing just:  
{code}
Waiting as there are still 26 inflight and pending exchanges to complete before 
we can shutdown
Waiting as there are still 26 inflight and pending exchanges to complete before 
we can shutdown
Waiting as there are still 26 inflight and pending exchanges to complete before 
we can shutdown
Waiting as there are still 25 inflight and pending exchanges to complete before 
we can shutdown
{code}

Show something more like:
{code}
Waiting as there are still 6 inflight and pending exchanges to complete, 
timeout in 68 seconds
Waiting as there are still 6 inflight and pending exchanges to complete, 
timeout in 67 seconds
Waiting as there are still 6 inflight and pending exchanges to complete, 
timeout in 66 seconds
Waiting as there are still 5 inflight and pending exchanges to complete, 
timeout in 65 seconds
{code}

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

Reply via email to