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 Details

    • ExceptionGeneratingBroker

      public ExceptionGeneratingBroker()
  • Method Details

    • invoke

      public Object invoke(Object o) throws org.ikasan.spec.component.endpoint.EndpointException
      Specified by:
      invoke in interface org.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()