Interface JmsConnectionExceptionResolver
- All Known Implementing Classes:
DefaultJmsConnectionExceptionResolver
public interface JmsConnectionExceptionResolver
Let each JmsListener specific implementation resolve which exception raised by the custom client (from now on, the
client) is considered as a
connection exception, which might lead to reconnection logic
execution.-
Method Summary
Modifier and TypeMethodDescriptionOptional<org.mule.runtime.api.connection.ConnectionException>Decide whether the exception thrown by the client should be considered as aconnection exception
-
Method Details
-
resolveException
Decide whether the exception thrown by the client should be considered as aconnection exception- Parameters:
e- The exception thrown by the third-party JMS client.- Returns:
- An optional that might contain, if it's the case, a
connection exception
-