Note that there are some explanatory texts on larger screens.

plurals
  1. PO"Graceful shutdown of routes completed in 0 seconds" then "Shutting down while there are still 1 in flight exchanges"
    primarykey
    data
    text
    <p>I have this :</p> <pre><code>15:20:06 | INFO | aultShutdownStrategy | mel.impl.DefaultShutdownStrategy 73 | Starting to graceful shutdown routes (timeout 300 seconds) 15:20:06 | INFO | aultShutdownStrategy | mel.impl.DefaultShutdownStrategy 106 | Graceful shutdown of routes completed in 0 seconds 15:20:06 | WARN | ltInflightRepository | l.impl.DefaultInflightRepository 91 | Shutting down while there are still 1 in flight exchanges. </code></pre> <p>I thought the graceful shutdown would wait for this in flight exchange to land! Why does it say "shutdown of routes completed in 0 seconds"?</p> <p>Could it be related to the <code>Thread.sleep(30000);</code> I wrote in a processor in the route where the exchange is still inflight?</p> <p>EDIT :</p> <p>I have this config into applicationContext :</p> <pre><code>&lt;bean id="MainRouteBuilder" class="something.router2.MainRoute" init-method="init"&gt; &lt;property name="ruleService" &gt; &lt;osgi:reference interface="something.router2.service.RuleService" /&gt; &lt;/property&gt; &lt;property name="controlInbox" value="${router.controlInbox}" /&gt; &lt;property name="errorBox" value="${router.errorBox}" /&gt; &lt;property name="rulesCamelContext" ref="secondCamelContext" /&gt; &lt;/bean&gt; &lt;!-- Camel --&gt; &lt;camelContext xmlns="http://camel.apache.org/schema/spring" id="myCamelContext"&gt; &lt;routeBuilder ref="MainRouteBuilder"/&gt; &lt;/camelContext&gt; &lt;camelContext xmlns="http://camel.apache.org/schema/spring" id="secondCamelContext"&gt; &lt;/camelContext&gt; </code></pre> <p>I try to stop "secondCamelContext" into a route using "myCamelContext".</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload