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
| Modifier and Type | Field and Description |
|---|---|
static String |
NOT_INITIALISED |
| Constructor and Description |
|---|
HeisenbergRouters() |
| Modifier and Type | Method and Description |
|---|---|
void |
concurrentRouteExecutor(WhenRoute when,
org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) |
void |
dispose() |
void |
initialise() |
int |
routerField(int expected,
int newValue) |
void |
simpleRouter(WhenRoute when,
org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) |
void |
spy(String processor,
List<Attribute> withAttributes,
BeforeCall beforeCallAssertions,
AfterCall afterCallAssertions,
org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) |
void |
start() |
void |
stereotypedRoutes(KillingRoute killingRoute,
DrugKillingRoute drugKillingRoute,
org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) |
void |
stop() |
void |
twoRoutesRouter(String processorName,
WhenRoute when,
OtherwiseRoute other,
org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback) |
void |
voidRouter(WhenRoute when,
org.mule.runtime.extension.api.runtime.process.VoidCompletionCallback callback) |
public static final String NOT_INITIALISED
public void voidRouter(WhenRoute when, org.mule.runtime.extension.api.runtime.process.VoidCompletionCallback callback)
public void concurrentRouteExecutor(WhenRoute when, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
@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)
public void twoRoutesRouter(String processorName, WhenRoute when, @Optional OtherwiseRoute other, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
public void stereotypedRoutes(KillingRoute killingRoute, @Optional DrugKillingRoute drugKillingRoute, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
@Summary(value="Allows to take actions over the event before and after the execution of a processor") public void spy(String processor, @Optional @NullSafe @Expression(value=NOT_SUPPORTED) List<Attribute> withAttributes, @Optional BeforeCall beforeCallAssertions, @Optional AfterCall afterCallAssertions, org.mule.runtime.extension.api.runtime.process.RouterCompletionCallback callback)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic int routerField(int expected,
int newValue)
Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.