Package org.switchyard.component.camel.common.handler

Examples of org.switchyard.component.camel.common.handler.OutboundHandler


    protected <T extends CamelBindingModel> InboundHandler<T> createInboundHandler(QName serviceName, T binding) {
        return new InboundHandler<T>(binding, getCamelContext(), serviceName, getServiceDomain());
    }

    protected <T extends CamelBindingModel> OutboundHandler createOutboundHandler(T binding) {
        return new OutboundHandler(binding, getCamelContext(), CamelComposition
                .getMessageComposer(binding), getServiceDomain());
    }
View Full Code Here


    public Exchange createExchange(MessageComposer<CamelBindingData> messageComposer) {
        QName serviceName = new QName("urn:test", "Service");
        ServiceInterface metadata = new InOnlyService(OPERATION_NAME);

        OutboundHandler handler = new OutboundHandler(_bindingModel, _camelContext, messageComposer, null) {
            {
                setState(State.STARTED);
            }
        };
        _serviceDomain.registerService(serviceName, metadata, handler);
View Full Code Here

TOP

Related Classes of org.switchyard.component.camel.common.handler.OutboundHandler

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.