public class ReconnectionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Consumer<Throwable> |
NULL_THROWABLE_CONSUMER |
| Constructor and Description |
|---|
ReconnectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPartOfActiveTransaction(org.mule.runtime.extension.api.runtime.config.ConfigurationInstance configurationInstance) |
static boolean |
shouldRetry(Throwable t,
ExecutionContextAdapter<?> context) |
public static boolean shouldRetry(Throwable t, ExecutionContextAdapter<?> context)
t - the Throwable thrown during the execution of the operationcontext - the ExecutionContextAdapter that contains the context information about the operation's executionpublic static boolean isPartOfActiveTransaction(org.mule.runtime.extension.api.runtime.config.ConfigurationInstance configurationInstance)
configurationInstance - the ConfigurationInstance to check.Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.