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 Type
    Method
    Description
    Optional<org.mule.runtime.api.connection.ConnectionException>
    Decide whether the exception thrown by the client should be considered as a connection exception
  • Method Details

    • resolveException

      Optional<org.mule.runtime.api.connection.ConnectionException> resolveException(Throwable e)
      Decide whether the exception thrown by the client should be considered as a connection 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