public class TimeBasedAggregatorOperationsExecutor extends SingleGroupAggregatorExecutor
timeBasedAggregator.
Class keeping all the logic for the aggregator defined in TimeBasedAggregatorOperations
The reason why we have this custom executor is that unlike regular routers, we should be able to both, have the it as void (the event out is the same as the event in) and propagate variables in case any is set inside a route.
QUORUM_EXCEPTION| Constructor and Description |
|---|
TimeBasedAggregatorOperationsExecutor(Map<String,Object> params) |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<Object> |
execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext) |
int |
getMaxSize() |
void |
initialise() |
protected void |
injectParameters(Map<String,Object> parameters) |
void |
setMaxSize(int maxSize) |
dispose, start, stoppublic int getMaxSize()
public void setMaxSize(int maxSize)
public org.reactivestreams.Publisher<Object> execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext)
protected void injectParameters(Map<String,Object> parameters)
injectParameters in class AbstractAggregatorExecutorpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableinitialise in class AbstractAggregatorExecutororg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2024 MuleSoft, Inc.. All rights reserved.