[
https://issues.apache.org/jira/browse/ARIES-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raymond Augé updated ARIES-1962:
--------------------------------
Description:
consider the code:
{code}
properties.put(JAX_RS_EXTENSION_SELECT, new String[] {
"(&(objectClass=javax.ws.rs.ext.MessageBodyReader)(osgi.jaxrs.media.type=application/json))",
"(&(objectClass=javax.ws.rs.ext.MessageBodyWriter)(osgi.jaxrs.media.type=application/json))"
});
{code}
if these filters match the same service the resolution can fail.
was:
consider the code:
{code}
properties.put(JAX_RS_EXTENSION_SELECT, new String[] {
"(&(objectClass=javax.ws.rs.ext.MessageBodyReader)(osgi.jaxrs.media.type=application/json))",
"(&(objectClass=javax.ws.rs.ext.MessageBodyWriter)(osgi.jaxrs.media.type=application/json))"
});
```
if these filters match the same service the resolution can fail.
> resolution can fail when osgi.jaxrs.extension.select has multiple filters
> which match same service
> ---------------------------------------------------------------------------------------------------
>
> Key: ARIES-1962
> URL: https://issues.apache.org/jira/browse/ARIES-1962
> Project: Aries
> Issue Type: Bug
> Components: jax-rs-whiteboard
> Reporter: Raymond Augé
> Priority: Major
> Fix For: jax-rs-whiteboard-1.1.0
>
>
> consider the code:
> {code}
> properties.put(JAX_RS_EXTENSION_SELECT, new String[] {
>
> "(&(objectClass=javax.ws.rs.ext.MessageBodyReader)(osgi.jaxrs.media.type=application/json))",
>
> "(&(objectClass=javax.ws.rs.ext.MessageBodyWriter)(osgi.jaxrs.media.type=application/json))"
> });
> {code}
> if these filters match the same service the resolution can fail.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)