Package org.apache.servicemix.bean.beans

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


        exchange.getInMessage().setContent(new StringSource("<hello>world</hello>"));
        client.sendSync(exchange);

        assertExchangeWorked(exchange);

        AnnotatedBean bean = (AnnotatedBean) getBean("annotatedBean");
        MessageExchange answer = bean.getMyExchangeMethod();

        log.info("Bean's myExchangeMethod() method has been invoked: " + answer);

        assertNotNull("Bean's myExchangeMethod() method should bave been invoked", answer);
    }
View Full Code Here


        exchange.getInMessage().setContent(new StringSource("<hello>world</hello>"));
        client.sendSync(exchange);

        assertExchangeWorked(exchange);

        AnnotatedBean bean = (AnnotatedBean) getBean("annotatedBean");
        MessageExchange answer = bean.getMyExchangeMethod();

        log.info("Bean's myExchangeMethod() method has been invoked: " + answer);

        assertNotNull("Bean's myExchangeMethod() method should bave been invoked", answer);
    }
View Full Code Here

TOP

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

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.