public class PetStoreOperationsWithFailures extends PetStoreOperations
PetStoreOperations.CorrelationInfoOutputResolver| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_FAIL |
operationExecutionCounter, shouldFailWithConnectionException| Constructor and Description |
|---|
PetStoreOperationsWithFailures() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
failConnection(PetStoreClient client) |
Integer |
failOperationWithException(PetStoreClient client) |
Integer |
failOperationWithThrowable(PetStoreClient client) |
static List<Thread> |
getConnectionThreads() |
static void |
resetConnectionThreads() |
describeSerializedAnimal, echoWithSignature, failsToReadStream, featureFlaggedEchoFeatureContext, featureFlaggedEchoMuleContext, getAquarium, getBreeder, getCage, getCashier, getClient, getClientOnLatch, getConfig, getConnectionAge, getDefaultEncoding, getFishFromRiverStream, getForbiddenPets, getPetCorrelation, getPets, getPetStoreDeal, getPetsWithIntermitentConnectionProblemAndClosingStream, getPetsWithParameterGroup, getPetsWithParameterGroupShowDsl, getPetsWithTypedInputStreamParameter, getStreamedSignature, getStreamedSignatureWithError, makePhoneCall, scopeWithMuleStereotype, setSecureCage, spellBuiltIn, spellClass, spellObjectpublic static final String CONNECTION_FAIL
public static void resetConnectionThreads()
public Integer failConnection(@Connection PetStoreClient client) throws org.mule.runtime.api.connection.ConnectionException
org.mule.runtime.api.connection.ConnectionExceptionpublic Integer failOperationWithException(@Connection PetStoreClient client) throws Exception
Exceptionpublic Integer failOperationWithThrowable(@Connection PetStoreClient client) throws Throwable
ThrowableCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.