camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas A." <andreasasm...@gmail.com>
Subject Not possible to catch an java.lang.Error.
Date Tue, 30 Nov 2010 09:52:12 GMT

Hi

I have been experiencing some problems with OutOfMemoryError in my
production environment and I would like to shut down the application when
this occurs. I thought of doing this by catching java.lang.Error and then
shutting down the app. However this is not possible as there's only the
possibility to throw and catch Exceptions in Camel. This is of course very
sane since you shouldn't be expecting Errors to pop up in your app. Any
ideas how to achieve this?
-- 
View this message in context: http://camel.465427.n5.nabble.com/Not-possible-to-catch-an-java-lang-Error-tp3285827p3285827.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message