You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Andre Rodrigues (JIRA)" <ji...@apache.org> on 2017/11/16 20:02:00 UTC

[jira] [Commented] (TOMEE-1825) allow to configure converters for johnzon jaxrs provider

    [ https://issues.apache.org/jira/browse/TOMEE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255881#comment-16255881 ] 

Andre Rodrigues commented on TOMEE-1825:
----------------------------------------

Some one can help?

1)
TomEEConfigurableJohnzon is not recognizing adapter, converter,..., setters;
LOG: org.apache.openejb.assembler.classic.Assembler.unusedProperty unused property 'adapter' for resource 'johnzon'.

2) When using TomEEConfigurableJohnzon, Johnzon annotations stops working, e.g.: @JohnzonIgnore.

Configs:
WEB-INF/resources.xml:

<Service id="johnzon" class-name="org.apache.openejb.server.cxf.rs.johnzon.TomEEConfigurableJohnzon">
        # 1M
        maxSize = 1048576
        bufferSize = 1048576
        ignores = org.apache.cxf.jaxrs.ext.multipart.MultipartBody
        accessModeName = field
        failOnUnknownProperties = false

        adapter = $instantAdapter
    </Service>

    <Service id="instantAdapter" class-name="com.xyz.InstantAdapter" />

So, Why is it not recognizing adapter setter?

> allow to configure converters for johnzon jaxrs provider
> --------------------------------------------------------
>
>                 Key: TOMEE-1825
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1825
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.1
>
>
> org.apache.openejb.server.cxf.rs.johnzon.TomEEConfigurableJohnzon extends johnzon one and has converter (single), converters (collection:$ref1,$ref2) an adapter/adatpers setters



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)