Hi
The easiest way to deal with it is uninstall the jettison bundle.
A bus property "skip.default.json.provider.registration" is also
available where the CXF JAXRS provider factory will ignore even if it is
available on the classpath.
As far as JAX-RS 2.0 selection of the providers is concerned it is
actually Jackson itself, due to its use of the wilcard Produces and
Consumes values which makes it difficult for it to be selected as the
top candidate if other JSON providers are loaded.
Thanks, Sergey
On 23/03/17 11:28, Christian Schneider wrote:
You should be able to define the jackson provider as an intent.
See:
https://github.com/apache/cxf-dosgi/tree/master/common
I remember though that I discussed this with Sergey recently and there
might be some problem as the newest jax-rs spec makes it more difficult
to override the default provider.
@Sergey Do you remember what needs to be done for the override?
Once we figure this out we should create a sample that shows how to use
jackson as I think many people like to use it. If no one else is
stepping up I will do this.
Christian
On 23.03.2017 12:05, nino martinez wael wrote:
Hi is it possible to use jackson with dosgi?
We are using enaunciate to generate documentation and they only support
jackson.. Jettison evaluates or jaxb beans differently, making the doc
unusable...