Package org.switchyard.component.bean

Examples of org.switchyard.component.bean.ReferenceInvocation.invoke()


    @Override
    public void messageTest(String msg) {
        try {
            ReferenceInvocation invoker = invokerA.newInvocation("inOut");
            invoker.getMessage().setContent("message-test-in");
            invoker.invoke();
           
            // check that the correct message reference is returned from invoke
            Assert.assertNotNull(invoker.getMessage().getContent());
            Assert.assertEquals("message-test-out", invoker.getMessage().getContent());
        } catch (Exception ex) {
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.