Package org.apache.servicemix.jbi.resolver

Examples of org.apache.servicemix.jbi.resolver.ServiceNameEndpointResolver


    public CreatePullPoint(ComponentContext context) throws JAXBException {
        ServiceMixClientFacade client = new ServiceMixClientFacade(context);
        client.setMarshaler(new JAXBMarshaler(JAXBContext.newInstance(Subscribe.class, RegisterPublisher.class)));
        setClient(client);
        setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
    }
View Full Code Here


        setResolver(resolveWSA(getEndpoint()));
    }

    public CreatePullPoint(JBIContainer container) throws JBIException, JAXBException {
        setClient(createJaxbClient(container));
        setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
    }
View Full Code Here

        setResolver(resolveWSA(getEndpoint()));
    }

    public CreatePullPoint(ServiceMixClient client) {
        setClient(client);
        setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
    }
View Full Code Here

    public NotificationBroker(ComponentContext context) throws JAXBException {
        ServiceMixClientFacade client = new ServiceMixClientFacade(context);
        client.setMarshaler(new JAXBMarshaler(JAXBContext.newInstance(Subscribe.class, RegisterPublisher.class)));
        setClient(client);
        setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
    }
View Full Code Here

        setResolver(resolveWSA(getEndpoint()));
    }

    public NotificationBroker(JBIContainer container) throws JBIException, JAXBException {
        setClient(createJaxbClient(container));
        setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
    }
View Full Code Here

        setResolver(resolveWSA(getEndpoint()));
    }

    public NotificationBroker(ServiceMixClient client) {
        setClient(client);
        setResolver(new ServiceNameEndpointResolver(NOTIFICATION_BROKER));
    }
View Full Code Here

        container.activateComponent(http, "http");

        container.start();

        ServiceMixClient client = new DefaultServiceMixClient(container);
        client.request(new ServiceNameEndpointResolver(new QName("urn:test", "s2")), null, null, new StreamSource(
                        getClass().getResourceAsStream("soap-request.xml")));

    }
View Full Code Here

        DocumentFragment epr = URIResolver.createWSAEPR(uri);
        return getContext().resolveEndpointReference(epr);
    }

    public EndpointResolver createResolverForService(QName service) {
        return new ServiceNameEndpointResolver(service);
    }
View Full Code Here

        // lets construct a resolver if any of the output
        if (destinationService != null) {
            if (destinationEndpoint != null) {
                return new ServiceAndEndpointNameResolver(destinationService, destinationEndpoint);
            } else {
                return new ServiceNameEndpointResolver(destinationService);
            }
        } else if (destinationInterface != null) {
            return new InterfaceNameEndpointResolver(destinationInterface);
        } else if (destinationUri != null) {
            return new URIResolver(destinationUri);
View Full Code Here

        DocumentFragment epr = URIResolver.createWSAEPR(uri);
        return getContext().resolveEndpointReference(epr);
    }

    public EndpointResolver createResolverForService(QName service) {
        return new ServiceNameEndpointResolver(service);
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.jbi.resolver.ServiceNameEndpointResolver

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.