public void configure() throws Exception {
// put a message pre-early on the seda queue, to trigger the route, which
// then would add a 2nd route during CamelContext startup. This is a test
// to ensure the foo route is not started too soon, and thus adding the 2nd
// route works as expected
SedaEndpoint seda = context.getEndpoint("seda:start", SedaEndpoint.class);
seda.getQueue().put(new DefaultExchange(context));
from("seda:start").routeId("foo")
.process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception {