How do I regester a javax.ws.rs.ext.ParamConverterProvider with CXF?

Solution Verified - Updated -

Issue

CXF does not pick up a ParamConverterProvider class annotated with @Provider; the converter is not used to convert data in a REST (e.g. rsServer) request parameter.

@GET
...
public Response test( ... @QueryParam("test") TestClass test );
...

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
  • CXF

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