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 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.