You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Robert Panzer (JIRA)" <ji...@apache.org> on 2016/12/05 23:29:58 UTC

[jira] [Created] (TOMEE-1981) Allow to disable TomEEJohnzonProvider

Robert Panzer created TOMEE-1981:
------------------------------------

             Summary: Allow to disable TomEEJohnzonProvider
                 Key: TOMEE-1981
                 URL: https://issues.apache.org/jira/browse/TOMEE-1981
             Project: TomEE
          Issue Type: Improvement
          Components: TomEE Core Server
    Affects Versions: 7.0.2
            Reporter: Robert Panzer


TomEE configures a couple of internal JAX-RS providers, for example:
- WadlDocumentMessageBodyWriter
- EJBExceptionMapper
- ValidationExceptionMapper

While it is easy to deactivate all these providers by setting the property `org.apache.johnzon.jaxrs.WadlDocumentMessageBodyWriter.activated=false` this is not possible for the TomeeJohnzonProvider and the TomeeJsonpProvider.
For these 2 providers it should also be possible to deactivate them, in particular as it is difficult to get them out of the way when you are using other MessageBodyWriters for Json that should bind to the media type {{*/*}}.

I already created a PR for that at https://github.com/apache/tomee/pull/53, maybe it is acceptable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)