Search in sources :

Example 1 with HelloServiceImpl

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

the class FileToCxfMessageDataFormatTest method setUp.

@Override
public void setUp() throws Exception {
    deleteDirectory("target/filetocxf");
    // set CXF
    ServerFactoryBean factory = new ServerFactoryBean();
    factory.setAddress("http://localhost:" + port1 + "/FileToCxfMessageDataFormatTest/router");
    factory.setServiceClass(HelloService.class);
    factory.setServiceBean(new HelloServiceImpl());
    server = factory.create();
    server.start();
    super.setUp();
}
Also used : ServerFactoryBean(org.apache.cxf.frontend.ServerFactoryBean) HelloServiceImpl(org.apache.camel.component.cxf.HelloServiceImpl)

Aggregations

HelloServiceImpl (org.apache.camel.component.cxf.HelloServiceImpl)1 ServerFactoryBean (org.apache.cxf.frontend.ServerFactoryBean)1