Package org.switchyard.component.bean.omservice.model

Examples of org.switchyard.component.bean.omservice.model.OrderResponse


    public void test_New_Way() {

        Message responseMsg = _testKit.newInvoker("BasicOrderManagementService.createOrder").
                                    sendInOut(new OrderRequest("D123", "ABCD"));

        OrderResponse response = (OrderResponse) responseMsg.getContent();

        Assert.assertEquals("D123", response.orderId);
    }
View Full Code Here


public class BasicOrderManagementServiceImpl implements BasicOrderManagementService {

    @Override
    public OrderResponse createOrder(OrderRequest request) {

        return new OrderResponse(request.orderId);
    }
View Full Code Here

TOP

Related Classes of org.switchyard.component.bean.omservice.model.OrderResponse

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.