How to remove cxf in the service end point URL

Solution Verified - Updated -

Issue

  • In the serviceEndpoint we specify the Endpoint URL. But camel is prefixing cxf in front of the URL.
<camel-cxf:cxfEndpoint id="wireServiceEndpoint"
        address="${serviceEndpoint}"
        serviceClass="com.abc.xyzService">
</camel-cxf:cxfEndpoint>
  • If the serviceEndpoint here is SampleService
  • CXF is creating the above endpoint URL as /cxf/SampleService and we don’t want cxf being prefixed in the URL

Environment

  • Red Hat JBoss Fuse
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.