public class TestNonBlockingProcessor extends org.mule.runtime.api.component.AbstractComponent implements Processor, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
Processor implementation that will return control to the Flow in a custom Scheduler
thread in the same way as, for example, a HTTP requester would.ReactiveProcessor.ProcessingType| Constructor and Description |
|---|
TestNonBlockingProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<CoreEvent> |
apply(org.reactivestreams.Publisher<CoreEvent> publisher) |
void |
dispose() |
ReactiveProcessor.ProcessingType |
getProcessingType()
Force the proactor to change the thread.
|
void |
initialise() |
CoreEvent |
process(CoreEvent event) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, initRootContainerName, setAnnotationspublic ReactiveProcessor.ProcessingType getProcessingType()
getProcessingType in interface ReactiveProcessorpublic CoreEvent process(CoreEvent event) throws org.mule.runtime.api.exception.MuleException
public org.reactivestreams.Publisher<CoreEvent> apply(org.reactivestreams.Publisher<CoreEvent> publisher)
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 dispose()
dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.