Hi Camel Users,

on the Camel Website it is only documented how to change the Default Timeout
for a Camel-Route shutdown via Java Code [1], but I could not find any
documentation of how to change the Timeout if I use Blueprint for my Camel
Setup. 

Can someone please advice?

I added the following bean to my blueprint file:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:camel="http://camel.apache.org/schema/blueprint";>
    <bean id="shutdownStrategy"
class="org.apache.camel.impl.DefaultShutdownStrategy">
        <property name="timeout" value="100" />
    </bean>

    <camel:camelContext  >
         . . .
    </camel:camelContext>

</blueprint>

[1] http://camel.apache.org/graceful-shutdown.html



--
View this message in context: 
http://camel.465427.n5.nabble.com/Who-do-I-set-ShutdownStrategy-in-CemelContext-with-Blueprint-tp5743160.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to