Package org.apache.servicemix.jbi.api

Examples of org.apache.servicemix.jbi.api.ServiceMixClient.done()


        ServiceMixClient c = container.getClientFactory().createClient();
        InOut me = c.createInOutExchange();
        me.getInMessage().setContent(new StringSource("<hello/>"));
        me.setService(new QName("echo"));
        c.sendSync(me);
        c.done(me);

        assertEquals(6, listener.events.size());
    }

    public static class TestListener implements ExchangeListener {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.