public final class NestedProcessorValueResolver extends Object
AbstractNestedProcessorValueResolver which wraps the given Event in a NestedProcessor. This resolver
returns new instances per every invocation| Constructor and Description |
|---|
NestedProcessorValueResolver(Processor messageProcessor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. |
NestedProcessor |
resolve(Event event)
Returns a
NestedProcessor that wraps the event |
void |
setMuleContext(MuleContext muleContext) |
protected NestedProcessor |
toNestedProcessor(Processor messageProcessor,
Event event,
MuleContext muleContext)
Creates and registers a
NestedProcessor that wraps the given messageProcessor |
public NestedProcessorValueResolver(Processor messageProcessor)
public NestedProcessor resolve(Event event) throws org.mule.runtime.api.exception.MuleException
NestedProcessor that wraps the eventevent - a EventNestedProcessororg.mule.runtime.api.exception.MuleExceptionpublic void setMuleContext(MuleContext muleContext)
protected NestedProcessor toNestedProcessor(Processor messageProcessor, Event event, MuleContext muleContext)
NestedProcessor that wraps the given messageProcessormessageProcessor - a Processorevent - a EventmuleContext - the Mule node.NestedProcessorpublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to ValueResolver.resolve(Event) will return the same value. Notice that if it
returns true, then it might return different values per invocation but that's not guaranteed.isDynamic in interface ValueResolver<T>falseCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.