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(ValueResolvingContext) will return the same value. |
List<NestedProcessor> |
resolve(ValueResolvingContext context)
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(ValueResolvingContext context) throws org.mule.runtime.api.exception.MuleException
ValueResolvereventcontext - the context for the current resolution attemptorg.mule.runtime.api.exception.MuleException - if the resolution of the value failspublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) 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.