Class HeisenbergRouters

java.lang.Object
org.mule.test.heisenberg.extension.HeisenbergRouters
All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable

public class HeisenbergRouters extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable, org.mule.runtime.api.lifecycle.Disposable
  • Field Details

  • Constructor Details

    • HeisenbergRouters

      public HeisenbergRouters()
  • Method Details

    • voidRouter

      public void voidRouter(WhenRoute when, org.mule.runtime.extension.api.runtime.process.VoidCompletionCallback callback)
    • sdkVoidRouter

      public void sdkVoidRouter(WhenRoute when, org.mule.sdk.api.runtime.process.VoidCompletionCallback callback)
    • concurrentRouteExecutor

      public void concurrentRouteExecutor(WhenRoute when, org.mule.sdk.api.runtime.process.RouterCompletionCallback callback)
    • simpleRouter

      @Deprecated(message="Simple routers are too simple, we will no longer suport them.", since="1.2.2") public void simpleRouter(WhenRoute when, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
    • twoRoutesRouter

      public void twoRoutesRouter(String processorName, WhenRoute when, @Optional OtherwiseRoute other, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
    • manyRoutesRouter

      @MinMuleVersion("4.9.7") @OutputResolver(output=ManyRoutesRouterOutputTypeResolver.class) public void manyRoutesRouter(String processorName, @ExecutionOccurrence(MULTIPLE_OR_NONE) @ChainInputResolver(WhenInputTypeResolver.class) List<WhenRoute> whens, @ExecutionOccurrence(ONCE_OR_NONE) @PassThroughInputChainResolver @Optional OtherwiseRoute other, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
    • stereotypedRoutes

      public void stereotypedRoutes(KillingRoute killingRoute, @Optional DrugKillingRoute drugKillingRoute, org.mule.sdk.api.runtime.process.RouterCompletionCallback callback)
    • spy

      @Summary("Allows to take actions over the event before and after the execution of a processor") public void spy(String processor, @Optional @NullSafe @Expression(NOT_SUPPORTED) List<Attribute> withAttributes, @Optional BeforeCall beforeCallAssertions, @Optional AfterCall afterCallAssertions, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
    • initialise

      public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException
      Specified by:
      initialise in interface org.mule.runtime.api.lifecycle.Initialisable
      Throws:
      org.mule.runtime.api.lifecycle.InitialisationException
    • start

      public void start() throws org.mule.runtime.api.exception.MuleException
      Specified by:
      start in interface org.mule.runtime.api.lifecycle.Startable
      Throws:
      org.mule.runtime.api.exception.MuleException
    • stop

      public void stop() throws org.mule.runtime.api.exception.MuleException
      Specified by:
      stop in interface org.mule.runtime.api.lifecycle.Stoppable
      Throws:
      org.mule.runtime.api.exception.MuleException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.mule.runtime.api.lifecycle.Disposable
    • routerField

      public int routerField(int expected, int newValue)