bar.expectedMessageCount(1);
template.sendBodyAndHeader("direct:bar", "Hello World", "bar", "mock:bar");
bar.assertIsSatisfied();
// there should be one more producer cache
names = mbeanServer.queryNames(on, null);
assertEquals(2, names.size());
log.info("Removing 2nd route");
// now remove the 2nd route