Bug 961188

Summary: Too long timeout of server when a problematic Camel exchange is in progress
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Pechanec <jpechane>
Component: SwitchYardAssignee: Keith Babo <kbabo>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Sedlacek <jsedlace>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: kconner, oskutka, soa-p-jira
Target Milestone: ER2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Alpha
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:25:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Pechanec 2013-05-09 04:53:55 UTC
When there is an internal problem with Camel exchange and a server is shutting down there is a list of log messages

06:44:19,586 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 299 seconds.
06:44:20,586 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 298 seconds.
06:44:21,587 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 297 seconds.
06:44:22,588 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 296 seconds.
06:44:23,588 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 295 seconds.
06:44:24,589 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 294 seconds.
06:44:25,590 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 293 seconds.
06:44:26,590 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 292 seconds.
06:44:27,591 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 291 seconds.
06:44:28,592 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 290 seconds.
06:44:29,592 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 289 seconds.
06:44:30,593 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 288 seconds.
06:44:31,594 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 287 seconds.
06:44:32,594 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 286 seconds.
06:44:33,595 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 285 seconds.
06:44:34,596 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 284 seconds.
06:44:35,596 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 283 seconds.
06:44:36,597 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-3) thread #3 - ShutdownTask) Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 282 seconds.

I think that 300 second timeout is a little bit long.

Comment 1 Keith Babo 2013-08-22 17:07:11 UTC
Default timeout has been shortened to 30s and is now configurable via domain properties.  See associated JIRA and pull request for details.

Comment 2 Jiri Pechanec 2013-09-16 09:57:08 UTC
Verified in ER2