JbiContainerImpl container = new JbiContainerImpl();
container.setWorkingDir(new File("target/.mule-jbi"));
// Initialize jbi
container.initialize();
// Create components
AgilaComponent provider = new AgilaComponent();
TestComponent consumer = new TestComponent();
// Register components
container.getRegistry().addTransientEngine("consumer", consumer);
Engine agila = container.getRegistry().addTransientEngine("provider", provider, new AgilaBootstrap());
// Start jbi