Package org.apache.servicemix.bean.beans

Examples of org.apache.servicemix.bean.beans.ListenerBean


        message.setContent(new StringSource("<hello>world</hello>"));

        client.sendSync(me);
        assertExchangeWorked(me);

        ListenerBean bean = (ListenerBean) getBean("listenerBean");
        assertNotNull("Bean should bave been invoked", bean.getLastExchange());

        log.info("The bean has been invoked: " + bean.getLastExchange());
    }
View Full Code Here


        client.sendSync(me);
        client.done(me);
        assertExchangeWorked(me);

        ListenerBean bean = (ListenerBean) getBean("listenerBean");
        assertNotNull("Bean should bave been invoked", bean.getLastExchange());

        log.info("The bean has been invoked: " + bean.getLastExchange());
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.bean.beans.ListenerBean

Copyright © 2018 www.massapicom. 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.