Hi, Claus,

I saw that the "fix" won't make it into the product. Do you see any risks
with the workaround below:

// descendant of DefaultEndpoint

    public void stop() throws Exception {
        if (isSingleton() &&
!org.apache.camel.support.ServiceSupport.class.cast(getCamelContext()).isStopping())
{
            return;
        }

        super.stop();
    }



--
View this message in context: 
http://camel.465427.n5.nabble.com/Route-removal-triggers-endpoint-shutdown-tp5764796p5766437.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to