Great guys.. Fast and faithful :)

thanks Nino

On Thu, Mar 23, 2017 at 4:44 PM, Christian Schneider <
[email protected]> wrote:

> Ah .. that was it. We need to set a bus property. The newest release
> cxf-dosgi 2.1.0 allows to do this.
> I think I will create a sample for this.
>
> Christian
>
>
> On 23.03.2017 15:53, Sergey Beryozkin wrote:
>
>> 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...
>>>>
>>>>
>>>
>>>
>>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>
>


-- 
Best regards / Med venlig hilsen
Nino Martinez

Reply via email to