Package org.apache.tuscany.sca.core.assembly.impl

Examples of org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl


        return new RuntimeEndpointImpl(registry);
    }

    @Override
    public EndpointReference createEndpointReference() {
        return new RuntimeEndpointReferenceImpl(registry);
    }
View Full Code Here


        String jsonParams = request.getPayload();
        Object[] args = JSONUtil.decodePayloadForOperation(jsonParams, operation);
        Message msg = new MessageImpl();
        msg.getHeaders().put(Constants.MESSAGE_ID, channel.getId());
        msg.setBody(args);
        EndpointReference re = new RuntimeEndpointReferenceImpl();
        RuntimeEndpointImpl callbackEndpoint = new RuntimeEndpointImpl();
        callbackEndpoint.setURI(request.getOperation());
        re.setCallbackEndpoint(callbackEndpoint);
        msg.setFrom(re);
        endpoint.invoke(operation, msg);
    }
View Full Code Here

     */
    private Message createMessageWithMockedCometReference(Object[] args, String sessionId, String callbackMethod) {
        Message msg = new MessageImpl();
        msg.getHeaders().put(Constants.MESSAGE_ID, sessionId);
        msg.setBody(args);
        EndpointReference re = new RuntimeEndpointReferenceImpl();
        RuntimeEndpointImpl callbackEndpoint = new RuntimeEndpointImpl();
        callbackEndpoint.setURI(callbackMethod);
        re.setCallbackEndpoint(callbackEndpoint);
        msg.setFrom(re);
        return msg;
    }
View Full Code Here

        return new RuntimeEndpointImpl(registry);
    }

    @Override
    public EndpointReference createEndpointReference() {
        return new RuntimeEndpointReferenceImpl(registry);
    }
View Full Code Here

        return new RuntimeEndpointImpl(registry);
    }

    @Override
    public EndpointReference createEndpointReference() {
        return new RuntimeEndpointReferenceImpl(registry);
    }
View Full Code Here

        return new RuntimeEndpointImpl(registry);
    }

    @Override
    public EndpointReference createEndpointReference() {
        return new RuntimeEndpointReferenceImpl(registry);
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl

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.