Why not simply calling session.save (what you mean by JCR commit) in your rest component? No exception should be thrown by RequestLifeCycle.end()


On Tue, Sep 10, 2013 at 12:00 PM, Nick Scavelli <nscavell@redhat.com> wrote:

As per https://issues.jboss.org/browse/GTNPORTAL-3257, when a failure occurs after the REST request handler completes (i.e. JCR commit), the response is still sent successfully to the client.

Wanted to get some feedback on this. From my perspective this is something that should probably be handled by the RestServlet in eXo WS. I don't think there's anything the actual REST service should do to handle these scenarios. If we are in agreement I can create a JIRA with eXo WS.

- Nick

_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev