Do you try to stop the route running the same thread? You should do it in a different thread.
Best, Christian On Sun, Jul 29, 2012 at 2:14 PM, soumya_sd <soumya...@yahoo.com> wrote: > I found a solution for this. > > I added the following and now the Camel forces the route to shutdown in 1 > seconds (timeout time) instead of the default 300 seconds. > > <bean id="shutdown" > class="org.apache.camel.impl.DefaultShutdownStrategy"> > <property name="timeout" value="1" /> > </bean> > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Options-for-creating-dynamic-filters-tp5716584p5716585.html > Sent from the Camel - Users mailing list archive at Nabble.com. >