Project dependencies
To be able to work with the Request-Callback message exchange, the request-callback dependency should be added:
Request-Callback message exchange pattern dependency
<dependency>
<groupId>org.talend.esb.mep</groupId>
<artifactId>request-callback</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.talend.esb</groupId>
<artifactId>transport-jms</artifactId>
<version>${project.version}</version>
</dependency>
And the CXF dependencies should be added as well:
CXF dependencies
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-security</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf.xjc-utils</groupId>
<artifactId>cxf-xjc-runtime</artifactId>
<version>${cxf.xjc.version}</version>
</dependency>
To be able to configure CXF endpoints/client via Spring DI, the Spring framework dependency should be added:
Spring framework dependency
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>