@Test
public void testRetrieveApplications() throws Exception {
CamelRoutingEngine routingEngine = new CamelRoutingEngine();
try {
Connector connector = mock(Connector.class);
ConnectorService cs1 = routingEngine.addApplication("test1", connector).withPriority(2000);
ConnectorService cs2 = routingEngine.addApplication("test2", connector).withPriority(1000);
ConnectorService cs3 = routingEngine.addApplication("test3", connector).withPriority(1500);