public class TestNonBlockingProcessor extends Object implements Processor, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable, MuleContextAware
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<Event> |
apply(org.reactivestreams.Publisher<Event> publisher) |
void |
dispose() |
ReactiveProcessor.ProcessingType |
getProcessingType()
Force the proactor to change the thread.
|
void |
initialise() |
Event |
process(Event event) |
void |
setMuleContext(MuleContext muleContext) |
public ReactiveProcessor.ProcessingType getProcessingType()
getProcessingType in interface ReactiveProcessorpublic org.reactivestreams.Publisher<Event> apply(org.reactivestreams.Publisher<Event> 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.Disposablepublic void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwareCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.