Class ExceptionGeneratingBroker
java.lang.Object
com.ikasan.sample.spring.boot.builderpattern.ExceptionGeneratingBroker
- All Implemented Interfaces:
org.ikasan.spec.component.endpoint.Broker
public class ExceptionGeneratingBroker
extends Object
implements org.ikasan.spec.component.endpoint.Broker
Created by majean on 09/10/2017.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreset()voidsetShouldThrowExclusionException(boolean shouldThrowExclusionException) voidsetShouldThrowRecoveryException(boolean shouldThrowRecoveryException) voidsetShouldThrowScheduledRecoveryException(boolean shouldThrowScheduledRecoveryException) voidsetShouldThrowStoppedInErrorException(boolean shouldThrowStoppedInErrorException)
-
Constructor Details
-
ExceptionGeneratingBroker
public ExceptionGeneratingBroker()
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceorg.ikasan.spec.component.endpoint.Broker- Throws:
org.ikasan.spec.component.endpoint.EndpointException
-
setShouldThrowExclusionException
public void setShouldThrowExclusionException(boolean shouldThrowExclusionException) -
setShouldThrowRecoveryException
public void setShouldThrowRecoveryException(boolean shouldThrowRecoveryException) -
setShouldThrowScheduledRecoveryException
public void setShouldThrowScheduledRecoveryException(boolean shouldThrowScheduledRecoveryException) -
setShouldThrowStoppedInErrorException
public void setShouldThrowStoppedInErrorException(boolean shouldThrowStoppedInErrorException) -
reset
public void reset()
-