public void setUp() throws Exception {
// Create jbi container
container = new JBIContainer();
container.setEmbedded(true);
container.setFlowName("st");
listener = new ExchangeCompletedListener();
container.addListener(listener);
container.init();
container.start();
// Create components
provider = new TestComponent(new QName("provider"), "endpoint");