Package org.openengsb.core.api.remote

Examples of org.openengsb.core.api.remote.OutgoingPort.sendSync()


    @Override
    public MethodResult sendMethodCallWithResult(String portId, String destination, MethodCall call) {
        OutgoingPort port = getPort(portId);
        MethodCallMessage request = new MethodCallMessage(call, true);
        request.setDestination(destination);
        MethodResultMessage requestResult = port.sendSync(request);
        return requestResult.getResult();
    }

    private OutgoingPort getPort(String portId) throws OsgiServiceNotAvailableException {
        return utilsService.getServiceWithId(OutgoingPort.class, portId);
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.