Examples of CxfRsEndpoint


Examples of org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint

    }

    @Test
    public void testCxfBusInjection() {

        CxfRsEndpoint serviceEndpoint = context.getEndpoint("cxfrs:bean:serviceEndpoint", CxfRsEndpoint.class);
        CxfRsEndpoint routerEndpoint = context.getEndpoint("cxfrs:bean:routerEndpoint", CxfRsEndpoint.class);
        JAXRSServerFactoryBean server = routerEndpoint.createJAXRSServerFactoryBean();
        JAXRSClientFactoryBean client = serviceEndpoint.createJAXRSClientFactoryBean();
        assertEquals("These cxfrs endpoints don't share the same bus", server.getBus().getId(), client.getBus().getId());
    }
View Full Code Here

Examples of org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint

    }

    @Test
    public void testCxfBusInjection() {

        CxfRsEndpoint serviceEndpoint = context.getEndpoint("cxfrs:bean:serviceEndpoint", CxfRsEndpoint.class);
        CxfRsEndpoint routerEndpoint = context.getEndpoint("cxfrs:bean:routerEndpoint", CxfRsEndpoint.class);
        JAXRSServerFactoryBean server = routerEndpoint.createJAXRSServerFactoryBean();
        JAXRSClientFactoryBean client = serviceEndpoint.createJAXRSClientFactoryBean();
        assertEquals("These cxfrs endpoints don't share the same bus", server.getBus().getId(), client.getBus().getId());
    }
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.