Absolute URI's with '*' in Camel CXF server component don't work, JBoss Fuse 6.3

Solution Unverified - Updated -

Issue

Absolute URI's with '*' in Camel CXF server component don't work, JBoss Fuse 6.3.
URI Example:

http://0.0.0.0:<port>/<path>/*/<path part 2>

Example of problematic route:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:camel-cxf="http://camel.apache.org/schema/blueprint/cxf" xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
<cm:property-placeholder persistent-id="com.redhat.gss.fuse.camel.cxf.example" update-strategy="none">
<cm:default-properties>

   <!--  Service URL  -->
   <cm:property name="api.root.another_bad_url" value="http://0.0.0.0:10000/api/*"/>
   <cm:property name="api.root.bad_url" value="http://0.0.0.0:10001/api/*/inventory"/>
</cm:default-properties>
</cm:property-placeholder>
<camelContext xmlns="http://camel.apache.org/schema/blueprint" id="camelContext-7db4b398-707f-4494-ae0a-4854bf08f29e">

   [adding route builders in here]

   <!--  CXF servers  -->
   <camel-cxf:rsServer address="${api.root.another_bad_url}" id="<another unique id>" loggingFeatureEnabled="false">   

   </camel-cxf:rsServer>

   <camel-cxf:rsServer address="${api.root.bad_url}" id="<some id>" loggingFeatureEnabled="false">
   </camel-cxf:rsServer>
</blueprint>

Environment

  • JBoss Fuse 6.3
  • Camel CXF Server component
  • Jetty 9.2.21.v20170120

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.