Class ChainedExceptionListener
java.lang.Object
org.springframework.jms.connection.ChainedExceptionListener
- All Implemented Interfaces:
ExceptionListener
Implementation of the JMS ExceptionListener interface that supports chaining,
allowing the addition of multiple ExceptionListener instances in order.
- Since:
- 2.0
- Author:
- Juergen Hoeller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addDelegate
(ExceptionListener listener) Add an ExceptionListener to the chained delegate list.final ExceptionListener[]
Return all registered ExceptionListener delegates (as array).void
-
Constructor Details
-
ChainedExceptionListener
public ChainedExceptionListener()
-
-
Method Details
-
addDelegate
Add an ExceptionListener to the chained delegate list. -
getDelegates
Return all registered ExceptionListener delegates (as array). -
onException
- Specified by:
onException
in interfaceExceptionListener
-