1

With large payloads, we are seeing that when JSON is converted to POJO, it is taking lot of time. Internally it uses Jackson. Was wondering if there is a way that we can configure RESTEasy to use Afterburner module which seems to better the performace.

Harry
  • 510
  • 4
  • 17

1 Answers1

2

You can configure the ObjectMapper to be used. One way that can be done is through a ContextResolver, as see here. Then just register the module with the ObjectMapper (as seen in the documentation).

Community
  • 1
  • 1
Paul Samsotha
  • 197,959
  • 33
  • 457
  • 689