}
}
else if (phaseEvent.getPhaseId().equals(PhaseId.RENDER_RESPONSE))
{
ConversationContext context = (ConversationContext) BeanManagerImpl.getManager().getContext(ConversationScoped.class);
// if long running, saves it
if (conversation.isLongRunning())
{
logger.info("Conversation with id : " + conversation.getId() + " is marked as long running conversation");
context.setActive(false);
}
// else destroy conversation context
else