Hi, I'm using camel 2.12.1. using below configuration <route id="route1"> <from uri="direct:input" /> <to uri="log:message ${body}" /> </route>
once the context is started if I execute the following statements camelContext.stopRoute("route1"); camelContext.removeRoute("route1"); I can see that: - The route is stopped then removed from the context. which is fine. - The direct endpoint is stopped and not the to endpoint. Is it the expected behavior? is it possible to remove the route's endpoints from the context? how can I do that? Thanks