[
https://issues.apache.org/jira/browse/TOMEE-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau reassigned TOMEE-1981:
-----------------------------------------
Assignee: Romain Manni-Bucau
> 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
> Assignee: Romain Manni-Bucau
>
> 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)