SPRNET-1300 - NMS custom schema is missing a way to set the Exception Listener when creating message listener containers

SPRNET-1302 - Add IErrorHandler interface to be called when exception thrown by message processing is not of vendor specific messaging exception type.
This commit is contained in:
markpollack
2009-12-16 19:00:48 +00:00
parent 5dbf70699e
commit 5b0ede6a7c
15 changed files with 537 additions and 28 deletions

View File

@@ -1428,6 +1428,26 @@ namespace MyApp
initialization. Default is true, optionally set to
false.</entry>
</row>
<row>
<entry>error-handler</entry>
<entry>A reference to a IErrorHandler that will handle any
uncaught exceptions other than those of the type NMSException
(in the case of ActiveMQ or EMSException int he case of TIBCO
EMS) that may occur during the execution of the message
listener. By default no ErrorHandler is registered and that
error-level logging is the default behavior.</entry>
</row>
<row>
<entry>exception-listener</entry>
<entry>A reference to an
Spring.Messaging.Nms.Core.IExceptionListener or
TIBCO.EMS.IExceptionListener as appropriate. Is invokved in case
of a NMSException or EMSException.</entry>
</row>
</tbody>
</tgroup>
</table>