public final class NestedProcessorValueResolver extends Object implements ValueResolver<NestedProcessor>
ValueResolver which wraps the given
MuleEvent in a NestedProcessor.
This resolver returns new instances per every invocation| Constructor and Description |
|---|
NestedProcessorValueResolver(MessageProcessor messageProcessor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to
ValueResolver.resolve(MuleEvent) will return the same value. |
NestedProcessor |
resolve(MuleEvent event)
Returns a
NestedProcessor that wraps the event |
public NestedProcessorValueResolver(MessageProcessor messageProcessor)
public NestedProcessor resolve(MuleEvent event) throws MuleException
NestedProcessor that wraps the eventresolve in interface ValueResolver<NestedProcessor>event - a MuleEventNestedProcessorMuleExceptionpublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to
ValueResolver.resolve(MuleEvent) 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<NestedProcessor>Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.