// Setup phase
renderer.prepareRender(requestContext, publisherConfig, getServletContext());
// Render phase
renderer.render(requestContext, publisherConfig, getServletContext());
} finally {
// Allow better garbage collection
publisherConfig.release();
}