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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content