Search in sources :

Example 31 with CxfEndpoint

use of org.apache.camel.component.cxf.CxfEndpoint in project camel by apache.

the class CxfEndpointUtilsTest method testCheckServiceClassWithTheEndpoint.

@Test
public void testCheckServiceClassWithTheEndpoint() throws Exception {
    CxfEndpoint endpoint = createEndpoint(getNoServiceClassURI());
    assertNull(endpoint.getServiceClass());
}
Also used : CxfEndpoint(org.apache.camel.component.cxf.CxfEndpoint) Test(org.junit.Test)

Example 32 with CxfEndpoint

use of org.apache.camel.component.cxf.CxfEndpoint in project wildfly-camel by wildfly-extras.

the class CXFWSSecureConsumerIntegrationTest method createCxfEndpoint.

private CxfEndpoint createCxfEndpoint(String endpointUrl, CxfComponent component) throws Exception {
    CxfEndpoint cxfEndpoint = new CxfEndpoint(endpointUrl, component);
    cxfEndpoint.setServiceClass(Endpoint.class.getName());
    return cxfEndpoint;
}
Also used : Endpoint(org.wildfly.camel.test.common.types.Endpoint) CxfEndpoint(org.apache.camel.component.cxf.CxfEndpoint) CxfEndpoint(org.apache.camel.component.cxf.CxfEndpoint)

Aggregations

CxfEndpoint (org.apache.camel.component.cxf.CxfEndpoint)32 Test (org.junit.Test)30 CamelContext (org.apache.camel.CamelContext)10 QName (javax.xml.namespace.QName)4 RouteBuilder (org.apache.camel.builder.RouteBuilder)4 CxfComponent (org.apache.camel.component.cxf.CxfComponent)4 DefaultCamelContext (org.apache.camel.impl.DefaultCamelContext)4 Endpoint (org.wildfly.camel.test.common.types.Endpoint)3 Exchange (org.apache.camel.Exchange)2 Processor (org.apache.camel.Processor)2 ProducerTemplate (org.apache.camel.ProducerTemplate)2 CxfProducer (org.apache.camel.component.cxf.CxfProducer)2 SoapBindingConfiguration (org.apache.cxf.binding.soap.SoapBindingConfiguration)2 Interceptor (org.apache.cxf.interceptor.Interceptor)2 Message (org.apache.cxf.message.Message)2 URL (java.net.URL)1 HashMap (java.util.HashMap)1 List (java.util.List)1 Map (java.util.Map)1 CountDownLatch (java.util.concurrent.CountDownLatch)1