public class NestedProcessorListValueResolver extends Object
AbstractNestedProcessorValueResolver which wraps the given Event in a List of
NestedProcessor. This resolver returns new instances per every invocation| Constructor and Description |
|---|
NestedProcessorListValueResolver(List<Processor> messageProcessors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. |
List<NestedProcessor> |
resolve(Event event)
Resolves a value from the given
event |
protected NestedProcessor |
toNestedProcessor(Processor messageProcessor,
Event event,
MuleContext muleContext)
Creates and registers a
NestedProcessor that wraps the given messageProcessor |
public List<NestedProcessor> resolve(Event event) throws org.mule.runtime.api.exception.MuleException
ValueResolvereventevent - a Eventorg.mule.runtime.api.exception.MuleException - if the resolution of the value failspublic 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<List<NestedProcessor>>falseprotected NestedProcessor toNestedProcessor(Processor messageProcessor, Event event, MuleContext muleContext)
NestedProcessor that wraps the given messageProcessormessageProcessor - a Processorevent - a EventmuleContext - the Mule node.NestedProcessorCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.