if (me.getError() != null) { throw me.getError(); }
    public void testProxy() throws Exception {        container.start();        Jsr181SpringComponent component1 = new Jsr181SpringComponent();        Jsr181Endpoint endpoint1 = new Jsr181Endpoint();        endpoint1.setPojo(new EchoService());        component1.setEndpoints(new Jsr181Endpoint[] { endpoint1 });        container.activateComponent(component1, "JSR181Component-1");                Jsr181SpringComponent component2 = new Jsr181SpringComponent();        Jsr181Endpoint endpoint2 = new Jsr181Endpoint();        endpoint2.setPojo(new ProxyPojoService());        endpoint2.setServiceInterface(ProxyPojo.class.getName());        component2.setEndpoints(new Jsr181Endpoint[] { endpoint2 });        container.activateComponent(component2, "JSR181Component-2");                DefaultServiceMixClient client = new DefaultServiceMixClient(container);        InOut me = client.createInOutExchange();        me.setInterfaceName(new QName("http://xfire.jsr181.servicemix.apache.org", "ProxyPojoPortType"));        me.getInMessage().setContent(new StringSource("<echo xmlns='http://jsr181.servicemix.apache.org'><echoin0>world</echoin0></echo>"));        client.sendSync(me);        assertTrue(me.getStatus() == ExchangeStatus.ACTIVE);        client.done(me);    }