[ 
https://issues.apache.org/jira/browse/CURATOR-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jordan Zimmerman updated CURATOR-547:
-------------------------------------
          Component/s: Recipes
        Fix Version/s: 4.3.0
    Affects Version/s: 4.2.0

> Make JAX-RS MessageBodyReader/-Writer impl (JsonServiceInstanceMarshaller) 
> reuse Jackson ObjectMapper
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CURATOR-547
>                 URL: https://issues.apache.org/jira/browse/CURATOR-547
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>    Affects Versions: 4.2.0
>            Reporter: Tatu Saloranta
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 4.3.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I noticed that the JAX-RS reader/writer implementation, 
> `JsonServiceInstanceMarshaller` creates `ObjectMapper`s on-the-fly for every 
> read and write. This is pretty inefficient, and it is easy to create and use 
> a static mapper instance instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to