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 Summary
FieldsFields inherited from interface org.mule.runtime.api.lifecycle.Disposable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Startable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Stoppable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconcurrentRouteExecutor(WhenRoute when, org.mule.sdk.api.runtime.process.RouterCompletionCallback callback) voiddispose()voidvoidmanyRoutesRouter(String processorName, List<WhenRoute> whens, OtherwiseRoute other, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) introuterField(int expected, int newValue) voidsdkVoidRouter(WhenRoute when, org.mule.sdk.api.runtime.process.VoidCompletionCallback callback) voidsimpleRouter(WhenRoute when, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) voidspy(String processor, List<Attribute> withAttributes, BeforeCall beforeCallAssertions, AfterCall afterCallAssertions, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) voidstart()voidstereotypedRoutes(KillingRoute killingRoute, DrugKillingRoute drugKillingRoute, org.mule.sdk.api.runtime.process.RouterCompletionCallback callback) voidstop()voidtwoRoutesRouter(String processorName, WhenRoute when, OtherwiseRoute other, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) voidvoidRouter(WhenRoute when, org.mule.runtime.extension.api.runtime.process.VoidCompletionCallback callback)
-
Field Details
-
NOT_INITIALISED
- See Also:
-
-
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:
initialisein interfaceorg.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:
startin interfaceorg.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:
stopin interfaceorg.mule.runtime.api.lifecycle.Stoppable- Throws:
org.mule.runtime.api.exception.MuleException
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.mule.runtime.api.lifecycle.Disposable
-
routerField
public int routerField(int expected, int newValue)
-